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        | ---
BTW, do you like spaces after `array` and before `(`? I'm always unsure whether do add one or not.