Allow defaultObject method to return null
E.g. new objects are ot allowed, only select fom existing.
Allow defaultObject method to return null.
Merge pull request #41 from coplas/master

Allow defaultObject method to return null.