Event engine

* MP:HEADER & MP:FOOTER event response added to template
* Event test code added to plugins