Json pointer and id resolution refactoring

Moved remote schema download into schema resolver. Support json pointer
with scope and id lookup.
Custom spec tests remote resolver to redirect downloads to local files.