add memory profiling and change the command line flag
add gogoprotobuf to .gitignore
make the max leveldb open files configurable