Fixed setting adapter.headers (needed to add Ember.ArrayPolyfills.forEach to rest_adapter)