Allow synchronous detection of transition errors

Needed for https://github.com/emberjs/ember.js/issues/9542