Make warning details accessible

Makes the details of MySQLWarnings accessible through an exported struct