autotools/cmake/gitignore cleanup

This file popped up after some of the recent autotools changes.
I think it would be better to exclude the whole 'builds/autoconf' folder and add an exclude for the rpath file.
Also, the gitignore file is a bit confusing in its current state and could be slimmed down.