Add docs/events.md
Add phpunit.xml.compiled to test the compiled version
recompiled
Add phpunit test with compiled version