refs #59 Call the environment's lock timeout callback on
DB_LOCK_DEADLOCK. Move the callback trigger to the ydb layer instead
of inside the lock request wait() function (much simpler this way -
we already have a DB * object to use and therefore do not require
an open_dbs map lookup or the lock held)