Fix jinja search path for local file_client

Now that FS backends other than roots work with a local file_client,
there is no need to look only in the file_roots directories.

Fixes #17963.
Update sqlite3.py to enable autocommit

as per saltstack #18152 
https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.isolation_level
addition of "isolation_level=None" to sqlite3.connect allows autocommit of "INSERT"
otherwise _connect would have to be called again with a con.commit()
fix the salt.utils.expr_match

here is a new method in version `2014.7.0`, and only one caller `salt.utils.expr_match(keyid, line)` in 'salt.master.check_signing_file`. 
the caller pass keyid(the minion_id) and line(read from the autosign.conf) as sequence, but the method expr_match handles them as wrong seq.
fix it, and test it in my local env
Add support for sockstat on FreeBSD as an alternative to lsof
Explicitly include stdlib csv module in esky build. Fixes missing csv module in Windows builds.
Merge pull request #18895 from rallytime/bp-18712

Backport #18712 to 2014.7
Merge pull request #18893 from rallytime/bp-18706

Backport #18706 to 2014.7
Merge pull request #18892 from rallytime/bp-18213

Backport #18213 to 2014.7
Fix lint
Populate the 'virtual' grain on OpenStack FreeBSD systems
Fix jinja tests

These tests were using the now-outdated method of looking in the
file_roots for cached templates in masterless mode.
add more constants to exitcodes.py
convert to using salt defined exit codes
use salt exit codes
use salt exit codes
use salt defined exit codes
use salt defined exit codes.
use salt exitcodes everywhere.
make sure to import salt.exitcodes
Merge pull request #18860 from terminalmage/issue17963

Fix jinja search path for local file_client