Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.

refs #4652
refs #4710
CompatLog: Fix downtimes.

fixes #4652