SERVER-15331 don't let writeNative be used on non-POD types

Closes #790

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-13522 Remove -mm option and put mmap code in a separate library
Merge remote-tracking branch 'upstream/master'