Add autoreject_file support to minion authentication

This commit adds support for a file similar to autosign_file, which can
be used to automatically reject minions which match the expressions
inside it.
prepend root_dir to autoreject_file
Add autoreject_file to master config template
Add autoreject_file to master config file documentation

Included a versionadded directive to note when this was added, to reduce
confusion.
Better trace for nested jinja errors
Make usage of source_hash more flexible.
	modified:   salt/modules/file.py
	modified:   salt/states/file.py
Make usage of source_hash more flexible.
	modified:   salt/modules/file.py
	modified:   salt/states/file.py
Make sure master_uri is set correctly when using client api
Don't test deprecated function.

* utils.memoize has been moved to salt.utils.decorators. Don't test it here.
Fix #9239 - include pkg in source dist tarball
Enhancement to master troubleshooting docs

Made some of the language more concise, and improved the example on
setting resource limits. /etc/security/limits.d/NN-something.conf is
the generally preferred method of setting resource limits.
Merge pull request #9478 from terminalmage/sphinx

Fix sphinx build warning
Merge pull request #9479 from terminalmage/docs

Enhancement to master troubleshooting docs
Fix unit tests for Postgres on some platforms

 * Fix for inconsistent behavior wherein systems will use varying escaping behavior for quotes and double-quotes. (Most notably, Ubuntu 10 for some oddball reason.

  * Reformatting.
Fixed a lower case reference to Salt on the cloud troubleshooting docs.
Possible fix for #5649

* Rewrite a client's interface directive to localhost if it's set to 0.0.0.0.
Adding ipv6 validation
Slight tweak to earlier master troubleshooting page edit
Merge pull request #9480 from cachedout/unit-tests

Unit tests
Merge remote branch 'upstream/develop' into develop