Allow libraries loaded before ember to tie into ember load hooks

The less abortive version of https://github.com/emberjs/ember.js/pull/1837