Inherits() uses go url.ResolveReference(), fixes relative $ref
Merge pull request #3 from janmentzel/master

Inherits() uses go url.ResolveReference(), fixes relative $ref