Break Diagram into it's own controller, nest resources

This was more of a style nit of mine - I prefer URLs like "/agents/9/events" over "/events?agent=9".

If you disagree, no harm in just closing this!