resolve relative uris and anchored schema uris

something like

    "$ref": "base.json#/definitions/foo"

and

    "$ref": "#/definitions/foo"

is supported now.

Tests provided, too.