Ember.js compatibility
adds #1456, changing last-child and related to last-of-type, etc for better support with handlebars out of the box