Added a couple more temporary file patterns to ignore in git.
Fixed issue with previous commit. Needed to escape # in the .gitignore file.