We need the ability to configure the maximum number of revisions to be checked by oak-run check. This way we can quickly tell whether there's a valid revision in the last n revisions. Moreover, this comes handy when we want to test only the last revision (current head state) of the repository.
For this we can add a new optional argument --maxRevisionsToCheck. If the argument is used, but a specific number of revisions is not specified, the tool will check by default only the last revision.