fix restricted fields for schema output are passed on to nested objects
update $ref parsing to also pick-up references inside deeply nested schemas. TODO catch up on circular dependencies
Merge branch 'master' of https://github.com/salesking/json_schema_tools
prevent circular $refs