A first step towards theme debugging

issue #2204
- allow handlebars log helper to output to console in dev mode
Fix package.json scripts to be more in line with
expected behavior of npm packages

fixes #1053

- updates travis config to be more in line with
 current dev steps

- fix `grunt-cli` warning from appearing when
 running grunt
Show parse error message during a failed import

adds support for outputting error message during a failed JSON.parse
This will help people identify the problem with their JSON source
and hopefully be able to aid them in resolving said issue.
Merge pull request #2218 from hswolff/npm-package-updates

Fix package.json scripts to be more in line with
Merge pull request #2205 from ErisDS/theme-debug

A first step towards theme debugging
abstract mobile interactions js

DRY up repeated code and simplify logic.
Merge pull request #2071 from samccone/sjs/show-error-on-import-failure

Show parse error message during a failed import
Merge pull request #2221 from samccone/sjs/clean-up-mobile-actions

abstract mobile interactions js