Add ability to hide completed dailies.

While I was at it, I also did a bit of refactoring in general around the hiding
of completed todos/dailies.