Adds parseEvent, which does not appear to work with REST API. Adds eventing to parseRequestHeaders so it can determine whether we are using the JS API or the REST API. Updates tests for parseRequestHeaders. Updates parseInterface so it can pass appConfig to newly registered models via the appEventBus (prevents having to pass as argument), and adds methods for emitting USE_REST_API and USE_JS_API events. Updates tests for parseInterface.
Renames parseRequestHeaders to parseRESTHeaders.
Adds parseJSAuth module and tests. Renames parseRESTHeaders to parseRESTAuth.
Updates parseInterface to use ngStorage module. Adds generation of INSTALLATION_ID when it is not available in storage. Miscellaneous other changes.