Added another unittest
Removed JournalTrailer and JournalHeader structures
Added new parameter HAM_PARAM_JOURNAL_SWITCH_THRESHOLD to control the size of the journal files