DRY event handler setup

Implemented a better method for applying event handlers to the
Nux.events