_getParamNamesFromRoute in Router

refactor of _getParamNamesFromRoute in xen\application\Router