Setting up autodoc for the docs.

For this to work you need to install sphinx in your virtualenv. It's added to
the requirements.txt so just run: pip install -r requirements.txt
Adding reference documentation for permission handling.