namedb: cleanup, comments
namedb: implemented GEQ/LEQ for lmdb backend + tests