Added getLock to DBDriver. Also, Cache is now a causally consistent cut -- fixes a BUG.