Avoid inserting parameters for partial matches in URLRouter. Fixes #230.

A stack based fixed array was used to avoid additional heap allocations.