Swagger docs can send bearer token
Remove test code
Remove unneeded imports
Rethink how to specify urls of API and docs
Add function to computer url endpoints of API
Move api_url_for to api module
Fix namespaces and services to use new api_url_for
Simplify config file
Fix resource going though http rather than https
Fix ansible role for nginx
Merge remote-tracking branch 'origin/master'