Adding more rocksdb options, fixing some bugs in JNICache