Add variables so that php doesn't complain about passing values by reference
Add base event handler.
Add event interface.
Add event base class.
Revert change
long overdue cleanup 1/n
Update the event framework and add some basic tests.
Add event handler and tests
Finish changes for event handling and tests
Finish changes for event handling and tests
cleanup
Merged with master
Merge pull request #557 from zephyern/master

Explicitly Define WhatsAppEvents & Add Beginning of Testing Framework
Commented out unused code