app.middleware: verify serial exec of handlers

Add a test verifying that middleware handlers are executed serially.

A follow-up for https://github.com/strongloop/loopback-phase/pull/6

/to @ritch @raymondfeng please review