remove tab characters and replace with spaces

lib/event_emitter used a combination of tabs and spaces for indentation :(