Add bitcask_debug missing from last commit
Fix remaining eunit problems. It passes!

Fix reference counting and deletion of anonymous keydirs.
Fix test with wrong conditional put semantics.
Account for already_exists -> modified change on CAS ops.