Unit test for observer

Hello

I've refactored the Observer Pattern to follow PSR-0 naming conventions and added a test suite with phpunit.

HTH