Fixed emit method, it now returns false when the emitter does not have any handler for the given event

Also simplified listeners method