Added .gitignore

Ignores files generated by the OS, certain logs and databases, packages. Also compiled executable files and temporary files generated by vim.