User: replace ondisconnect by a disconnect event

Now User is an EventEmitter and triggers "disconnect" event instead of using a
ondisconnect callback handler.
UserList: replace onadduser and onremoveuser callbacks by events

User is now an EventEmitter. onadduser and onremoveuser callbacks handlers are
now replaced by the `add` and `remove` events.