Task Sequencing for Competitions

Teams and players now use a bit of javascript to determine the task to
be undertaken.