Support for boolean and empty string defaults, refs #366

Also refs #341. Updates Postgres and MySQL tests.