Implemented the eventstats command.

All tests pass. It is essentially the same as the stats command less one option. I couldn't figure out where BOOLEAN_OPTIONS was so I added to the stats and eventstats rule modules. I guess that rule isn't usually hit as I haven't noticed it causing an error yet.