Use RocksDB's C++ API

As the ForestDB-Benchmark project is already a C++ project, we can use RocksDB's C++ API directly instead of using the C wrapper.
`db->write_options->sync` should be true iff `sync` is non-zero, if not, it should be false.

Please modify like this: `(sync)?(true):(false);`. Thanks.