Update sqlite3.py to enable autocommit

bug same as #18152 
Saw this hadn't been done, figured I'd 'pr' it. I can do it for 2014.7 as well if it's easiest.
sqlite3 module does not commit changes after 'INSERT' call