Fix a bug when matching URI by template
Fix a bug when matching URI by template

The regular expression generated from the URI-template should append
the dollar sign($) and prepend the superscript sign(^) automatically,
because the URI-template must match the whole path of request.

Liutos/eloquent-mvc,Liutos/eloquent-mvc