Refactor MySql support

I added some tests and refactored the code to handle multi-line scripts as well as scripts that contain a DELIMITER statement.
This could split statements which have `;` in strings apart?