Update .gitignore

Updating .gitignore with OS related files, logs and packages.