Update test suite and fix additionalProperties to only apply to object properties
Scan schemas for unresolved $ref references and sub-schemas
Merge pull request #32 from Acubed/master

addSchema() functionality and additionalProperties fix