changing empty field value check to NULL

the field is consider empty on add if it's === NULL
also moved the determining of the field value to a common method (field_value())
Merge branch 'refs/heads/kohana_v3.3/fix/orm_field_value' into kohana_v3.3/master