Adds named function for promise callbacks

[Related PR](https://github.com/emberjs/ember.js/pull/3876).
Merge pull request #167 from twokul/relevant-stack-trace

Adds named function for promise callbacks