Fixes emberjs/ember.js#1830

Changes the way `loading` and `failure` handlers are invoked so that
Ember can render `loading` and `failure` views successfully.