configure requirejs base url with asset host where necessary

@maxfliri
@robyoung
Merge pull request #16 from alphagov/base_url_for_requirejs

Configure requirejs base url with asset host where necessary