Added start and end day callbacks.

Also make task routine ctrl-c-able.
Quick fix for empty node ids waiting for #41
Fixed some bugs in demanding tasks and added cancellation services.
Fixed bug with incomplete comparison.
Merge pull request #42 from hawesie/hydro-devel

Bug fixes for demanding and routines, plus additional cancellation services.