Move BaseController#resource_class functionality to .resource_class

Now projects should override .resource_class instead of #resource_class
Revert "rename BaseController#resources_relation to #collection"

This reverts commit 29321f87fa73576409ecb94db31e918e622ceb3a.
rename @resource to @collection, BaseController#resource_relations to #resources