Added option to select the module to reload routes of, refs #1878.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ---
| Fixed tickets | ---
| Refs tickets  | #1878
| License       | MIT
| Doc PR        | ---
No, please remove them.