Scalar Fields and Alternatives in Cosmology and Black Holes