tests for Tools API
API moves into a subdirectory.
Refactoring URL routing after moving API from subdomain to subdirectory.
Changing db user for travis