PeriodicTask: Improve error message when misused

First, init the stop_event before verifying the interval option.  This
way, if we crash during init, we don't also crash during shutdown
Secondly, add a message to the INTERVAL failure assert indicating that
INTERVAL must be specified or --{}-interval must be set.