New Inequalities of Fejer and Hermite-Hadamard type Concerning Convex and Quasi-Convex Functions With Applications