updates template to avoid npm to rename .gitignore to .npmignore; #21

related to npm/npm#1862
adds test cases; updates version; fixes #21