[BUGFIX beta] Do not presume extend is Ember's extend

The container cannot presume that extend is Ember's own
extend function. Prototype and mootools extend native types
(like functions used for templates) with the extend property.