Fix Visual Studio paths and ignore its preference files.

After a slight (read 'massive') lack of foresight I managed to merge in changes from Tom that don't actually compile.

These commits fix this error by fixing the project file and adding to its path.

Also I noticed that there was no ignore file so I filled `.gitignore` with a bunch of Visual Studio extensions that shouldn't ever be in the repository.