Remove autogenerated files from git and create .gitignore

This makes "git diff" and "git status" work properly, though running "sh autogen.sh" becomes compulsory.