Refactor build files
Maintain list of absolute paths to src files of module required by running jsbuild

This list depends on build options passed to each module.

Also keep absolute path to module dir in Module object.
This is assential data.
Implement package.json NPM file

This file is be used to download all the Grunt dependencies
required for the final build of target module.
Implement Gruntfile.js generation

Gruntfile concatenates all the files required by target module
in proper order and minifies them.

Gruntfile commands performed during final module build are customizable.
Edit gruntfile_template.txt to change them.