SERVER-14747 SERVER-14753 Add validation tests for memory leak fixes
SERVER-15888: Ensure MODE_X on implicit DB creation

Also adds new API to DBLock to allow relocking in different mode.
debug
Entitlements WIP