A first step towards theme debugging

issue #2204
- allow handlebars log helper to output to console in dev mode
Merge pull request #2205 from ErisDS/theme-debug

A first step towards theme debugging