Update .gitignore, whitespace stuff and documentation

With `-w --ignore-blank-lines`, this diff should be quite readable ;)