Allow falsy values as custom field db defaults

Use if isset($field->default_value) instead of just
if ($field->default_value) so we can set a custom field database
column's default to zero.
Merge pull request #4617 from ejegg/master

Allow falsy values as custom field db defaults