Allow injection of delegate in lazy resolving feature manager.

The initial usecase is its use in the JSP taglib but it's likely to be useful in other scenarios.