lox/pheasant — pull request #39 by lox (2013-03-18 04:45:57+00:00)
Title: Default event handlers are registered lazily on first call to event()

As mentioned in bug #30, the default event handlers weren't being created for objects created by `DomainObject::fromArray`.

The fix is to simply register them lazily, right after the first call to `DomainObject::events()`, which is the gateway for the Events object.