Merge pull request #12 from mjburghoffer/master

Adding support for libmongoc-1.0 and libbson-1.0
Fix compilation warning cause by

"Merge pull request #12 from mjburghoffer/master"
Fixing compiler warning while compiling using Mongo C Meta Driver.
Adding script to automate the process of compiling different drivers of MongoDB.
Added missing file "Makefile.legacy"
write JSON (object and array)
$date and $oid
Merge pull request #13 from truongsinh/master

Read/Write JSON
fixing config.h dependency