Support 2 signatures of router.use. See
https://github.com/angelozerr/tern-express/issues/2