Container#resolve is now cached.

- once resolved, a later resolve of the same fullName should not yield a new resolution
- once resolved, a later resolve should not needless query the Resolver, as this can be costly, and is wasteful.
Merge pull request #3918 from stefanpenner/add-resolve-cache-to-container

Container#resolve is now cached.