allow lists for _run_check

added all() for onlyif, unless, and creates
fix pep8 in salt/states/cmd.py