Fix incorrect multiple blockreplace block handling

This fixes #8710.
Expose a copy of the state dictionary to state functions.

Fixes #8343 since `__sls__` is now available in `__state__` and not on `kwargs`.
Closes #8709 since it's not the right approach.
Fixes #8710 and closes #8711 since I've cherry-picked the fix for #8710 in from #8711.
Apparently python 2.6 does not know that `{'a', 'b', 'c'}` is a `set()`.
Correct the state test case and respective expected output.
Add pkgrepo tests for CentOS

Ubuntu ones will follow soon.
Fix pkgrepo tests when python file is run by itself on CLI
Remove grains requirement

I had this code here in an early draft of this test, but the grains are
no longer needed here as the stuff that requires grains has been moved
out of the test function and into the SLS files that are run by the
test.
Add an assert to ensure that the state.sls return dict isn't empty
Renamed `__state__` to `__low__`.
remove test for issue #8976 closed as expected behavior
Comment tests for closed issue #8802
Merge remote-tracking branch 'upstream/develop' into requisites-tests
Fix two bugs in keystone module

(1) If a profile was passed to keystone.auth(...), it loaded values
    from the configuration profile specified, but then immediately
    overwrote them.

(2) The same method function set kw_args[True] = True, rather than the
    intended kw_args['insecure'] = True
Fix #8773: allow syntax error state.foo in requisites with a warning.
Additionally pass the running and the `lowstate` dicts.

Additionally bring the running and the `lowstate` dictionaries into the state function global context.
Merge pull request #8822 from regilero/requisites-tests

Remove use inheritance Requisites tests
Minor typo fixes.
Default values for `chunks` and `running` should be `None`.

Refs the `state.low` and `state.high` salt module functions which do not have, not provide such context.
Save CPU cycles on the deep copy calls.
Merge pull request #8825 from s0undt3ch/develop

Minor typo fixes.