Add some inline documentation to example policies
Add LMDB support (TCDB is still the default option)
Adapting CFE locks to lmdb length limit (and fixing unit test)