Modifies parseJSAuth so it changes the Content-Type header to text/plain (to prevent CORS preflights). Modifies unit tests to reflect change.
Adds a once method to ParseAppEventBus and unit tests to cover it.
Updates parseRESTAuth to use appEventBus.once. Updates corresponding unit tests.
Updates parseJSAuthSpec to use appEventBus.once method and updates the corresponding unit tests.
Uncomments lines for importing and initializing Parse JS SDK.
Updates query action so it guarantees data is an object.
Reverts previous changes to parseResourceActions for guaranteeing the data is an object, as this is handled by the parseJSAuth transformRequest function.
Adds further tests for parseResource and some addtional refactoring.