added journal file header tests
JournalFile will now count its entries if the header has numberOfEntries == 0
MemorySegment now protects against null/empty queue in isEntryQueued
replay iterator for JournalMgr now works even if not write finished
replay after shutdown/crash working