Add support for matched parameters.

The Trie implementation now remembers the name of the :param and *splat,
and when finding a route it generates a map of the matched params.