Fix app.use to accept array of middleware without path

fixes #2356