Fixed seralization error in responsetransporter, when changes containing date's.
Move task-query to its own module.

Closes #453.