add moduleInstance to templates for 1.3.6-type modules

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | na
| Fixed tickets | na
| Refs tickets  | na
| License       | MIT
| Doc PR        | changelog entry

I couldn't think of a better variable name (module is already taken). This allows access to module paths in template.