added minute interval allowance

updated the isDue function to allow an interval of minutes to be checked
so that you would not need to run this function "once per minute" and
could pick up events within the designated interval.  also added tests
to demonstrate usage and check the boundaries.