Make Python 3 compatible

Rebuilt the test server context helper in the process to use wsgiref.
Tweak ServerContext class
Run slow tests on travis