Updated gitignore for log, tmp and database files