Fix war deployments

Because of wrong filenames for non salt:// files it could not deploy the war file properly.

Also, the logic to determine the version was a bit iffy so I have added a different approach of retrieving a version.
Use sys.__excepthook__ to be pythonic. cc: s0undt3ch
Add test.assertion
Route module exceptions back to the master

Refs #11613

This first routes events across the minion event bus before kicking them
back to the master. I think this may give us more flexibility in the
future, in terms of error streaming and pluggable error handling,
masterless, etc, etc.
Provide the ability to pass environment variables into pip build process
Fix linting
Register error handlers with reactor as callbacks

This is kind of a wild idea, but here goes.

I modified the reactor system to accept raw functions that act as
callbacks.

This means that we can get rid of loops that check for events and
instead just write functions that can register *theselves* with the
reactor and then have events streamed back to them. This has a lot of
interesting applications, such as facilitating a GUI that, instead of
using an REST API, could simply have a lightweight event-driven API that
registers with the reactor and has updates streamed back to it.

This is a proof of concept of this idea which illustrates minion error
messages being tossed across the event bus and the master registering an
error handler with the reactor to process them.
Support job data
Workflow to display minion exceptions in LocalClient
Fixed lint comment
Fix lint
Fix lint
Fix apache_module states to return None and changes dict in test mode

Fixes #16953.
Added changes dict to apache.configfile state in test mode
add ability to set passwd on Windows user creation

Some Windows systems do not permit creation of a user without
a password.

Fixes #16871
fix error when Windows users has unicode character
autoaccept passwords > 14 chars
Lint fixes
Merge pull request #16966 from UtahDave/fix_windows_unicode_error

fix error when Windows users has unicode character
Merge pull request #16968 from UtahDave/2014.7local

2014.7local