Move environment out of payload.

Environment is now a first class citizen in the GitHub deployments api.