resource lookup should also search against resource_name
added spec for resource lookup by string name
Merge pull request #2411 from musicglue/rails4

ResourceCollection lookup should also search against resource_name