Backports of Ember.js' container infrastructure for Ember 1.0.0pre2