Bugfix/running tests on built source

Fixes #1 

Also:
  * fixes source map url,
  * splits build in 2 steps: `build-js` and `build-css`
  * extracts requirejs path and shim configs to index.html - this is the exact fix to initial issue: we don't need main.js to be included into build for running tests but it's required to run application.