A first step towards theme debugging

issue #2204
- allow handlebars log helper to output to console in dev mode