Merge pull request #5472 from terminalmage/issue5455

apt: fix pkg.latest_version
Merge pull request #5473 from terminalmage/quickfix

Switch to pkg.compare for version comparison
Fix function typo
Merge pull request #5474 from UtahDave/develop

Fix function typo
Make the pillar.data docstring make a little more sense
Fix module name typo
Merge pull request #5475 from UtahDave/develop

Fix module name typo
Refix module name typo is salt.utils.is_windows
Merge pull request #5476 from UtahDave/develop

Refix module name typo is salt.utils.is_windows
use locale.get_encoding
add newline for clarity
copyedit states/layers.rst
Merge pull request #5477 from cvrebert/copyedit

copyedit states/layers.rst
Improve file.directory for clean=True

Handle exclude_pat when running with test=True and add
some tests to verify correct behavior.
Merge pull request #5478 from UtahDave/fix_win_pkg_encoding

Fix win pkg encoding
Add a generic failing sls for tests
Add overstate to test requisites
Add tests for overstate requisites
Add sls that will fail to parse
Add overstate to check parse failures in requisites