Re #152: Flushes cache if there's any from_date or to_date of any enabled widget equal to today

Hi, @jonpday , please perform code review. thx.

Description:
Flushes cache if there's any from_date or to_date of any enabled widget equal to today. Works at 00:00 everyday.