complete implementation of subexpressions introduced in handlebars.js 1.3.0