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
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
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.