Updated the .gitignore file to prevent missing important files.

Generally cleaned up the .gitignore file and made the files to ignore more explicit.