curt building in mingw
uiglue building in mingw
More changes to get mingw build working

bind_test.rc was changed to UTF-8 encoding so it would build with
windres.exe from mingw.
Fixed warnings in the 32-bit build.
Fixed errors in 32-bit MSVC build
Switched to "catch" for unit tests

It was easier getting the mingw build working with catch. It's also nicer
being able to describe tests using english.
Added VS solution folder for third party libraries