Fixes bug described in #3581

Routes with '/**' are now correctly handled when called by
$this->Html->link() in a view.