Fixed some issues in jsrouting

Removal of `werkzeug.templates` had left the JS source broken.
Namely, the `converters` list was not being correctly generated, and `rules` not being passed at all.