YARN-2765. Added leveldb-based implementation for RMStateStore. Contributed by Jason Lowe