If resource name not set in config, get it from pluralized collectionName

If resource name not set in config, try to get it from pluralized fom of collectionName, like in Rails.