Add checkReference flag to Attribute lock methods
Add unittest and config option for attribute lock checkReference.
startup: tweaks for handling of check_attr_before_lock config option
test_general: testCase_mayaLockAttr.test_lockRefs - add check for default setting