merge tene-438 to tene-455, add RecordLicenseExtractor, add cancelling ocr and omr if license is not public, add unit tests.
Closes TENE-455