Various win32 fixups

o Fixing cmakelists.txt
o moving header guards above checks for BSON_COMPILATION and the like
o fixing some iso8601 win32 bugs
Merge branch 'mongodb-master'