Extended API to allow returning closest next or previous times.

1. To return times instead of delay (defaults to returning delay)
2. get closest next and previous times (or delays)
3. see if the passed in time matches cron entry

Add unit tests for new extended api.