The beginnings of documentation

Added a few lines to a couple of modules and sorted Sphinx building. Also make a couple of changes to allow bambu packages to be imported with a dummy settings.py file