add async (remote) deref tests

change setPath: copy keys of ref except 'id', don't reference

fix ref.$: getPath when canonical URI passed, first find the base URI in the document
version bump