Update .gitignore

Added several temp dirs and temp files to the .gitignore including temp files generated by common editors such as emacs (autosave files and such).