Fix rst doctests in cosmology package
Ellipsize some values
Merge pull request #1642 from mdboom/doctest/cosmology

doctest/cosmology