Fixes a regression from PR #5370 which added asserts to various DR lock routines which are not valid for client locks marked as the app.
Adds sanity tests for each of the 3 types of locks that can be marked as app locks. These hit the asserts without this fix.
Fixes #5432 (closed)