Stop adding "(Disabled)" to disabled agents.

They are now distinguished by the color and line style.
Set the digraph title to "Agent Event Flow".
Show the agent type in tooltip.
Put a badge indicating the number of events created on each agent node.

It is clickable, and colored depending on its status.
Add a tooltip to badges.
Turn the JavaScript code into a separate CoffeeScript file.
Merge pull request #421 from knu/improve_diagram-2

Adding a badge to each Agent node in a diagram.