Generalizations of Weighted Ostrowski Type Inequalities for Mappings of Bounded Variation and Their Applications