Bugfix: Refuse archiving or restoring a task without effect 

Description 

restoreTask answered success for a task that was not archived, and archiveTask for a task whose subtasks were archived as well, although nothing changed, so a client could not tell a stale screen from a real change. Both now answer 409, as restoring a project that is not archived already does. Archiving again still archives a subtask that was restored on its own.

Impact 

Clients that archive or restore tasks without checking their state receive 409 instead of 200.