The Primordial Density Perturbation: Cosmology, Inflation and the Origin of Structure