Fix TypeError when 'properties' are checked against non-object
Merge branch 'master' of https://github.com/andyfischer/jsonschema