Add mergeParams option to Router

fixes #2153
fixes #2203