gaurd against edge cases with early warnings
add test for params in nested router
gaurd against lack of leading slash
test for default error handler
support objects in prefix
duplicate add route test & gaurd.
Merge pull request #7 from Raynos/prefix-assertions

gaurd against edge cases with early warnings