Added support to enable/disable events

Implements my Feature Proposal in issue #137 to improve performance problems when dealing with lots of elements in a map that fire events, or simply not to overload with unnecessary broadcasted events.