add gflags to parse command line arguments.
move leveldb and marisa tool from utils to here.