Refactor state module to reduce duplication
Bad args fix
Add try..except check for JSON errors to sls shim

This is the same fix as in #13557 for highstate.
We must be able to count on __salt__ being a dictionary-like object

This fix is far from complete. FunctionWrapper in it's current form is
missing ``in`` support, ``.keys()`` support, ``.update()`` support,
maybe more.
Check and fix wrong x509 version field.

This fixes #11653.
Change mod_random to use pycrypto backend.
Fixes some documentation.
Fix failing tests
Fix missing queue args
add finger_master to key module

This would help us because we need to validate the master key is up to
date.

The plan is to expose the finger prints on the master (via salt-api).
The minion will periodically check. If it's master finger print is
wrong, then the minion will delete and start the auth process again.
Adding the ability to schedule Salt jobs using cron like syntax for the time.  Updated module and state to be able to use this new functionality.  Some general cleanup in utils/schedule.py, modules/schedule.py and states/schedule.py
Fixes linting error.
Removes whitespace.
Fix the option for sqlite_queue_dir
Add default value for del_all_vols_on_destroy
set_del_all_vols_on_destroy needs a default
Finish road cleanup from salt-key
Add glob support to username key in salt-api eauth perms lookup
Merge pull request #13891 from whiteinge/salt-api-glob-eauth-user

Add glob support to username key in salt-api eauth perms lookup
Revert "Add glob support to username key in salt-api eauth perms lookup"

This reverts commit e1a0f259f26d856ff9eaea360046d946b1f71724.

Salt-core doesn't do glob matches here, it special-cases lookup for '*'.