Full win32 port

Added full support for win32 (mingw / msvc)

Includes all test files.  Relies heavily on socket abstractions from
libbson