break out all the things to functions, move stuff to repl.cc and get rid of ldb:: on everything
reorder functions in ldb.cc, make local functions static
reorder functions in repl.cc, get rid of ldb:: for static functions
clean up includes
add lib/repl.h