support custom templates for compiled po target

See the new specs, how this can work. This enables to provide custom
templates to generate the modules by the user of the plugin.