Fixes #291 - Task Code is no longer required in the UI.

However, when a code is specified, it’s subject to a unique constraint.
Merge branch 'bug/291'
Closes #298 - Documentation updated to clarify purpose of resubmit_task_instance.
Merge branch 'bug/298'