to resolve relative ref like { "$ref": "#/definitions/A" }
Merge pull request #4 from zentooo/ref-relative

to resolve relative ref like { "$ref": "#/definitions/A" }