ensure that fake API is fully loaded before application, move API switcher out of fake API
Merge pull request #13 from alphagov/fix-js-bootstrap

ensure that fake API is fully loaded before application