When surrendering a lock which is possibly an indirect lock, or
at least related to indirect locks, all related locks for the agent
in question must be released (and all direct locks re-applied).
Also added test cases, and simplified tracing of ets activity in
locks_server.erl
When surrendering a lock which is possibly an indirect lock, or at least related to indirect locks, all related locks for the agent in question must be released (and all direct locks re-applied).
Also added test cases, and simplified tracing of ets activity in locks_server.erl
Ref. Issue #22