Added timeouts to replication tests to handle concurrent inserts
A lot of new tests to mysqltest Fixed bug with BDB tables and autocommit