- automatically calling addDomEvents if attribute "events" exists
- closes #164