add foreign key constraint for MySQL tpcc test

1) add foreign key constraints for tpcc-mysql-ddl.sql
2) turn autocommit off
3) change NewOrder to avoid fails of inserting new orders