Merge play and task environment.

Per jimi-c's comments, merge play and task environments, but it is done with a copy of the play environment which is updated with the task's environment. This way the task can override play environment variables.