Added a gitignore to the project.

Merged Michael Whittaker requested to merge gitignore into master

Previously, directories like .obj/ and files like libtapir.so weren't being ignored by git. Now they are! This .gitignore ignores vim, c++, and project specific stuff. See https://github.com/github/gitignore for source.

Merge request reports