Edited gitignore file to ignore file-types

Changed behaviour of ignores from specific folders and files to
filetypes in order to cover more files that should be ignored.