Update htmlbars and bound-templates.js. Rearrange code.

The "Ember.HTMLBars: #each" test is failing.