replace methods fail() with catch() for Em.RSVP.Promises since it's deprecated by Ember.