References #167, new notificatin method logic.

Also tried to change the logic for unanswered count, but it does not
seem to work well yet.
Fixes #190, added publishing options to task form.