Use the `print()` function.
Fix "Unnecessary parens after 'print' keyword" lint issues.
Custom grains directories
Handle better state errors

This fixes #9983.
Doc: fix grains.filter_by example on default argument usage
Catch bad args in salt-call

Instead of throwing an ugly stack trace, catch a type error, format the exception and display it. Then exit with a proper retcode.
virt runner: delete key from master when VM is purged
Fixing --to-destination parameter to iptables, which needs to be placed after the jump.
make "salte-run -d" limit to the specific runner or function, if provided
salt-run: make help for --doc consistent
Fixes a problem in 2014.1 where context can be a jinja2.runtime.Context and not a dictionary. 2014.1 also no longer stores the sls name in the sls argument, but it can be found in mods.

Alternatively, if the sls name and template path could be added to the context, this would be a whole lot easier.
display full jinja traceback when applicable

This fixes #10010
Lint fix
The code or schedule had a better example than the doc.
Add ability to subfilter in sls files

This will recurse through the sls when matching the minion.

It will only recurse on the special key: subfilter

Why subfilters? There a few benefits. Notice in the example below
the top most filter is environment specific. All the sub filters can
be copied, as is, beneath any filter. No more writing '*dev*web*front'
anymore.

For further documentation on why this was added:
Please see issue saltstack/salt#9979

Here is an example sls:

```yaml
dev:
  '*dev*':
    - sqlite
    - subfilter:
        '*webserver*':
          - nginx
prod:
  '*prod*':
    - stunnle
    - subfilter:
        '*webserver*':
          - newrelic-agent
          - subfilter:
              '*front':
                - haproxy
              '*back':
                - nginx
                - statsd
```
doc of params fixed
postgres: small fix: arg left from pylint cleanup
Merge pull request #10016 from makinacorpus/pgsql

postgres: small fix: arg left from pylint cleanup
Added test for salt.modules.file.extract_hash() to verify support for simple Maven checksum file format.
Merge pull request #10005 from bigkraig/develop

Fixing --to-destination parameter to iptables, which needs to be placed after the jump.