CXX-277 Add missing platform/basic.h to some tests
CXX-276 Fix warning about auto_ptr to incomplete type
CXX-277 Work around windows warning about repeated 'inline'

See http://reviews.llvm.org/D2025?id=5157
CXX-277 Eliminate unused variable
CXX-277 Include windows headers where required
CXX-277 Error out on windows if the winsock headers are not already included
CXX-277 Don't warn about deprecated C library functions
CXX-277 Cast to unsigned to allow large char value
CXX-277 Enable warnings as errors for windows