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
DOCS-954 eval and locks
minor: indentation fixes
merge: DOCS-654
edits and more clear single sourcing