wsgi application for test extracted to file
Uses bson instead of json as default protocol
Server implemented&tested. #6