add gitignore
make hook.js read template from file to not conflict with generator templates
add karma-cli as dep
add jst and name attribute to the base index.js
copy new files from template