add a gitignore file

It contains common exclusion rules, autoconf stuff, automake stuff,
cscope and po.

This does not include build stuff (files generated by ./configure && make) because I prefer to use an out-of-tree build directory. Even without it, it allows to use "git clean -f" without running the autogen phase again.