Windows fixes

Here are a couple of changes for compiling libdiscid on Windows with Visual Studio. This mostly fixes a compiler issue, updates the DLL meta information to actually work and updates the .gitignore to ignore the Visual Studio project files and build output (the latter not only for VS).

Tested the compilation with Visual Studio 2010, 2012 and with MinGW.