Added fix to mysql Adapter so that non-autoinc keys are not overwritten if the mysql adapater returns 0 for the insertId property of the info parameter; added a db.close call to the related test to properly close the connection if the test succeeds.
Adding test and fix for mysql driver for non-autoincrement key