Tweaks for MySQL driver to support DEFAULT values

The driver will now set the correct default values since MySQL 5.6 doesn't seem to like coercing `''` into integer values anymore, which broke the inserting of rows where foreign keys were nullable.

If a column is nullable then it's default value will always be null.