Add task reactivation support to the local task API and update the edit task page to switch between Activate and Inactivate based on the current task state.
Keep the separate entity-page inactive-visibility changes out of this commit so they can be reviewed independently.