Added backup files (*~) to the gitignore
Ignoring temp files and the .idea folder
Added pg_data to the gitignore