Generate .gitignore with git.mk

Keeps it up to date. Also, allows cleaning Autotools-generated files
with 'make maintainer-clean'

https://bugzilla.gnome.org/show_bug.cgi?id=720548