CRITICAL: State's don't send the environment...

CRITICAL: State's don't send the environment to render the pillar!

This is why `salt-call pillar.items` works and `salt-call state.highstate` does not.

There defiantly needs to be a test around this bug. I've tested this fix with both the `environment: dev` and ` `#environment: dev`. It works just fine.

Here is the corresponding code that does work: https://github.com/saltstack/salt/blob/develop/salt/minion.py#L283
Solaris/SmartOS: Handle services in maintenance

SMF has a concept of the maintenance state where the
system knows the service is broken which requires an
explicit "svcadm clear <service>"

"svcadm enable -s <service>" returns code 3 when the service
is in maintenance (-s means wait to see how enabling went)

Salt should notice a return code of 3, attempt to clear
the service and try to enable one more time.

Common use case is a broken configuration file.
The user pushes a fix to the config file with salt which should
clear the maintenance state and attempt to enable the service
again.