Fixed move items functionality for moving tasks.

With the task and mandanten rework, we changed all task listings from plone objects to sql objects, with this change we broke the moving functionality for tasks (fixes #619).

Because tasklisting sends now task_ids instead of path, therefore we have to handle them also in the move_items functionality.

@lukasgraf please have a look..