Added escape method to MySQLConnector

Added escape method to MySQLConnector in order to escape values before
inserting them into database.