Created a .gitignore to get rid of visualstudio files

A .gitignore that gets rid of solutionfiles created by visualstudio
2012. Also a test at making sure that .cpp files still commit properly.
fixes #7