Allow synchronous detection of transition errors

Needed for https://github.com/emberjs/ember.js/issues/9542
Adding tests
Merge pull request #139 from ef4/sync-err

Allow synchronous detection of transition errors