Fix bug, add test, close lock volume to avoid stranded pages
merge pbeaman: Fixes bug in which a IT record was written to the journal for a tree in the temporary lock volume.

https://code.launchpad.net/~pbeaman/akiban-persistit/fix-1125603-lock-tree-in-journal/+merge/148755