Better duplicate detection

Added some code to allow messages to be sent once per day. Previous
code assumed serial reminders and only checked for duplicates against
the last SMS sent -- not quite the way some people's calendars work.
This change will detect duplicates across an entire day.