Added a .gitignore for files auto-generated by the CMake build-system

Title says it all.

By the way, thanks for merging in my other changes. I haven't tested them too thoroughly though, so keep that in mind.