router: fix default error capitalization
router: allow passing of status code for error
router: fix param() for use() and single method handler cases
test: add some initial tests