closes #6150 - clean up ghost.url.api script - switch to inlining config and making the ghost-url.js file an external request - add minification in production
closes #5942 - adds helper script for calling the api in themes - adds tests for said helper script