Repository cleanup:
- Created .gitignore files in doc/
- Ignored some autogenerated files and directory