Add .gitignore for autotools files

This makes development work less error prone when committing.

Partially based off of: https://github.com/github/gitignore/blob/master/Autotools.gitignore