Added sls and pillar as params

This change is backward compatible...but untested.
Allow for a stepped Jenkins execution.
Use the `__dict__` attribute.
Fix script
More explicit environment variable names. Detect Jenkins environment.
Get the correct environment variable name.
Merge pull request #7096 from s0undt3ch/0.16

0.16