Rework task management

All tasked resources now have a 'task' object embedded in their serialization
from which the task state, progress and possibly error can be retrieved. Users
with the admin role can revoke and restart a task by sending a PATCH request
on the resource with an empty task object.
Merge branch 'task-management' into rest-api-changes
Bump API version