Extend metrics middleware

This should allow us to track via Graphite, for each transport, network operator and tag or tagpool:

* number of sessions
* number of messages
* time taken for each session
* time taken for each session, rounded to the next ``N`` seconds (this is to allow very rough session costs calculations since some networks bill per ``N`` seconds or part there-of).

See also praekelt/vumi#856.
Thought about this and it seemed corner case, but happy to add support for
it.