Add flow information to the tooltip.

Adds a utility function to get flow events that belong to a given scope,
uses it to show flows in tooltips.
Merge pull request #477 from mpd/master

Add flow information to the tooltip.