Added simple test code to try some features of LMDB.
std::string constructor had len & chr parameters reversed.