Remove redundant .gitignore items, move template compilation to prepublish step so it won't be included into Git repo but will be shipped with npm package.