update Makefile and leveldb
bugfix for distclean target
-r option for repairing db
shutdown command
docs update