fixed delegateEvents and undelegateEvents bug #60

https://github.com/aralejs/widget/issues/60
https://github.com/aralejs/validator/issues/55