Make onevent handlers more spec-compatible

Support ``return false;``, add ``event`` argument, set property to ``null`` on unset.