Add doc/ and tmp/ in gitignore
Exception added.