Add asObject compat mode for ember-htmlbars.

Closes https://github.com/emberjs/ember.js/issues/9664.