Enhance ResourceHandlerReg. API for resource handling

This change adds new methods in ResourceHandlerRegistration that
provide sensible configuration defaults for resource handling in
JavaScript Web applications.

Sets of ResourceResolvers and ResourceTransformers are can be
easily registered.

Issue: SPR-11982