- Refactored the event handlers.
- Added option to set the prefix used on functions and variables.
PHPUnit: Replaced getMock() calls with the MockBuilder for better readability.
PHPUnit: Modified tests to match the latest changes.
Issue #1: Custom Events: Problems with scope of handling code
Changed custom event implementation to use normal functions instead of the label feature of the compiler.