Importing some tools from previous branch.
Added lmdb to prerequisite fetch.
Work on expanding scons build system.
scons now has support for building DB as a library, and creating tests.