Updating typescript route definition to allow m.route.mode and m.route.param(key).
Merge pull request #368 from blacha/next

Updating typescript route definition to allow m.route.mode and m.route.param(key).