Add gitignore for db, log, and tmp files
Use git rm -r --cahed to remove db, tmp, and log files from git history and update index to use .gitignore