rm unused import from zcbuildout state

salt/states/zcbuildout.py:41: [W0611(unused-import), ] Unused import re
Grains detection for LXC and fix error in disk.usage under Docker

I have modified the core grains detection routines where dragons often lay, so this should be reviewed carefully.

I have elected to set the LXC detection inside virtual_subtype for account for cases wherein a user might be running inside VirtualBox (as the tutorial for Docker leads one to do). Moreover, I also allow the virtualization detection to continue after LXC is detected, as I believe it may even be possibly for Xen and LXC to co-exist. (Though, let's be honest -- probably not recommended!)

Finally, disk.usage now correctly fails with a warning message and includes a work-around for gathering disk usage under Docker containers. This refs #8976.
Keep pid of salt CLI command from showing in status.pid output

When status.pid is executed by the salt-minion instance running on the
master, it also returns the pid of the salt CLI command, because the
search string matches. This commit adds another grep to the ps/grep/awk
one-liner, which filters out lines matching 'status.pid'.
Integration testing for #8976
Merge branch 'develop' into #8976

* develop:
  Integration testing for #8976
Don't run the #8976 tests on Windows.
Fix argument parsing for arguments containing pound signs

Passing these through yaml.safe_load() will result in the pound sign and
everything after it being interpreted as a comment. This commit stops
the argument from being passed through yaml.safe_load if it is a string
and contains a pound sign.
add test case for #8585
upstart scripts: invoke via su so /etc/environment is read
syndic upstart: invoke via su so /etc/environment is read
Merge pull request #9042 from mgwilliams/upstart

upstart scripts: invoke via su so /etc/environment is read
Merge pull request #9039 from terminalmage/issue8585

Fix argument parsing for arguments containing pound signs
Merge pull request #8995 from cvrebert/patch-1

rm unused import from zcbuildout state
Fix py renderer example

The example had an incorrect data structure, this commit fixes that.
Merge pull request #9044 from terminalmage/issue7952

Fix py renderer example
Merge pull request #9025 from terminalmage/issue8720

Keep pid of salt CLI command from showing in status.pid output
Merge pull request #9024 from cachedout/#8976

Grains detection for LXC and fix error in disk.usage under Docker