Use the pretty-printer to show :doc

This has the benefit of colors in both console and IDESlave mode.
More reliably find argument names in :doc
More accurately find argument types in :doc
Add some indentation to functions in :doc

This vastly improves the readability of :doc for typeclasses
Merge pull request #896 from david-christiansen/doc-better

Improve output from :doc