Merge pull request #6 from vadimromanenko/js_deps

Add node and bower config files
Include js dependencies in the template and cover MainTemplate with unit tests