Updated methods on api endpoints/ return 404

The ‘OPTIONS’ method is needed to avoid cross domain errors.

Redirected 404 to Ember app to fix browser refresh problem