Cleaned up setup.py and added missing deps

I had to install these dependencies manually in order to run the server, so I added them to setup.py to make it easier for others.

Did some pep8 and trivial refactoring while I was in there. :)