Fix to SQLWrapper.py to commit transactions on MySQL

The SQL library sets autocommit 0, but never does a commit trans, so the
rows are never inserted into the db.
This change fixes the StopInsert() function and now does a commit for MySQL