feat(app): specify uri while generating routes

If routes have multiple segments of parameters
they can be specified explicitly.

Fixes #639
test(app): add tests for route generator

add tests for route generator
include tests for uri option

Fixes #639, #644
Merge branch 'pr/644'

Close #644