required attr check only when default === null
Merge pull request #310 from flightjs/allow_undefined_optional_attrs

allow for optional, undefined attributes