Features
- Add `resource_cls` argument to `Client.resource_factory()` to allow specifying custom Resource classes
- Refactor `JSONSchemaDecoder` and add `schema_resolve_refs()` method for user-specified `{"$ref"}` resolution functions.
Bugfixes
- Fix reading Resource URI from "self" or "instances" links when possible.