middleware: add notifier

This adds a middleware that sends a notification upon receipt of a
request.

Change-Id: Iead2431a5e3914a80125cedade2c6536328ee9d4
Blueprint: count-api-requests