Create function to get required routes parameters

The FrontController will need to know which are the parameters that are required in a rewritten url, because he must remove them from the rewritten url. This way the function FrontController->canonicalRedirection() car redirect to the correct canonical url.