Add access to max event count stats

This commit provides an interface for accessing and resetting the maximum
number of events in a given period.  This information provides better insight
into event queue pressure.
Fixed bug using wrong variable in max event compare
Added unit test for max event counts
Merge remote-tracking branch 'asweeny86/event-count-max'