fixes ZEN-7474; validate state of event_summary table on ZEP startup and before optimization; reviewed by cphillips
Merge branch 'develop' of https://github.com/zenoss/zenoss-zep into develop