Throws NoSuchTransactionException in LogicalTransactionStore#getMetadataFor

instead of returning null. Will make for better error message in the log.
Merge pull request #3260 from tinwelint/2.2-throw-no-such-tx

[2.2] Throws NoSuchTransactionException in LogicalTransactionStore#getMetadataFor