Update getModuleLink()

[-] FO related to PSCFV 8542 and PSCFV 7534. When there is url rewring for a module, params 'module' and 'controller' shouldn't be added to the link, so they are set only when the module has no own route.