Fix issues with resource definition order and initializers.
Fix issues with resource definition order and initializers.

Resources initialized before configuration initializer inherit the
default configuration options, not the intended configuration.

This was affecting the paginator. In addition the _cache_field and
key_type are updated for consistency when resources are defined from a
base resource.

cerebris/jsonapi-resources