Adding environment variable support for jobs

Second pass at environment variables, now no longer limited to Docker tasks.  

Ping @brndnmtthws 
Can you drop this change? There's another patch in progress for this elsewhere.