schedule function offsets

Makes `AfterOpen` an offset from the actual market open, not from the first bar of data for a day.

Prevents offsets of 0 from being passed to `AfterOpen` or `BeforeClose`.
The _coerce_datetime gives you a midnight utc datetime. We need to do the coercion here because we want to see if the dates are the same.