Fix for .gitignore

Update to the template/gitignore.txt to resolve issues seen by QE. Additional ignore rules added to the default projects also