Reformat WSGI and websocket code + tests
Work around makefile incompatibility WIP
Python 3 compat: Fix WSGI and websocket WIP

Fixes #110