Better method signatures for Routing.

Also, addExtensions() already array_unique()s it. No need to do that twice then.

Refs https://github.com/cakephp/cakephp/pull/3802
How? As noted above, "addExtensions() already array_unique()s it. No need to do that twice then."