Less broken sphinx setup.

Should make pulsar.readthedocs.org significantly prettier (all changes stolen from planemo which was generated from cookiecutter).