Implement journal level close.

Implemented journal level close by re-using purge. Journal level close
will purge will purge down to a zero count of files and assert that all
files have been closed.

Closes #10.