Add ResolverChain to expand allowed handler types

Adds more flexibility to the existing handler resolver services by
allowing a chain of resolvers to be run to determine which is best
suited to create a callable from the configured $handler. We also
provide callback handler to support use cases where the $handler is an
anonymous function.