Allow customization of the API resources prefix.
Merge branch 'master' into customizable-api-url-prefix
Use correct URL for root JS URL
Merge pull request #278 from WP-API/customizable-api-url-prefix

 Allow customization of the API resources prefix (v2).  Closes #278.  Fixes #244.