Fix some typos in stats docs

This PR fixes some formatting errors and missing links due to typos and formatting errors in the stats docstrings.
See the [current astropy.stats docs](http://docs.astropy.org/en/latest/stats/index.html).

Should be simple to review and ready to merge, but maybe someone else can build the docs locally and double-check that everything is OK now.