Added gitignore for logs and tmp dirs.