WIP
Reverted the models.
Implement stack and event summary html pre-rendering using plugins
Update mail system to use plugins to render notification mail content