Refactor #lookup_resource to DirectoryLookup concern.

Current spec status: 482 examples, 0 failures in 3.95 seconds.
Implement ResourcesController#show.

Current spec status: 486 examples, 0 failures in 4.18 seconds.