add .gitignore

- adds `.gitignore`
- removes log/* and tmp/* from being versioned