Add support for additionalProperties and patternProperties. Fixes #46
Clean up title controls for objects.