Fix routing parameters

Route parameters passed to closures were not working correctly as the first parameter passed was the entire route string matched and not the segment. (just a consequence of how `preg_match()` works with capture groups). An `array_shift()` fixes it.