Adaptable max check interval or predicate for event detectors

The feature has been implemented in both Hipparchus and Orekit.
Please note that the dependency of Orekit on Hipparchus requires the two libraries to be updated simulaneously for this to work.