Introduces tests for PhysicaLogFileInformation and fixes some issues

TransactionMetadataCache returns -1 instead of null on missing log
 header information
Renamed LFI.getFirstCommittedTxId() to LFI.getFirstExistingTxId()