Add CustomModule support so that a component instance can configure itself with a custom module when it is being bound.