Made resource events consistent with client events

Fixed a bug that made it so only the first registered event for a given
resource would get called on such an event.

Fixed removeListener to actually remove the underlying event callback.

Added removeAllListeners.
Merge pull request #5 from asterisk/multiscopedevents

Made resource events consistent with client events