Reformat .gitignore and add more filetypes to ignore