fix(ngr/node): make script runnable in NodeJS env
chore(tests): restructure test files (karma preparation)
chore(build): create grunt build that includes testing

Add karma tests to the application that cover the following aspects
- development setup (ngDefine included in app)
- production setup (application minified)
- minification via ngr

Tests can be run via `grunt karma:single/singleOptimized/singleNgr`.

Add build that minifies and tests resources
- build exports project resources to `/build` and tests the project
- can be invoked via `grunt`

Closes #3