fix use statement
remove duplicate draft3 'required' validation in Constraints\Object
fix duplicate call of checkUndefined
fix code style
Merge pull request #55 from alexmmm/code-cleanup

Code cleanup