Add support for middleware handlers and change to custom koa-router repo