Entity: added support for Nette\Object-like events (possible BC break)