DOCS-954 eval() helper and nolock

DOCS-954 db.eval() method and nolock option

DOCS-954 incorporate Scott's feedback

incorporate Tad's comments

DOCS-954 eval and lock incorporate Ben's comments