Added temporary (*~) files to .gitignore list
Updated the generator to comply with newer versions of yeoman