Permit an endpoint to interact with RESTServer object - Useful to share config between endpoints for example
pep8 and pyflakes fixes
Merge branch 'app_object_in_request'