Fix test harness

Switch to py.test and make it actually work.

Separate out requirements into production and testing.

Fix pep257 issues with docstrings and some pep8 issues.

Add a setup.py to be able to import the app from tests.
Fix all broken tests by disabling sslify