[RocksJava] Memtable flush functionality

This pull request exposes the flush functionality of RocksDB to Java.