add npmignore
fix and modify template and .gitignore, .npmignore
fix license selection bug