A New Refinement of Jensen's Inequality in Linear Spaces with Applications