[IM] Allow controllers to resolve templates

This is required as our {tmplinclude} does not support the scope option. As such, the template needs to be resolved in the controller and then included using the builtn:

    {include .... scope=xxx}