Fix build with Lua installed with apt
Remove whitespace
Fix emit("error") with multiple listeners

If more than one error listeners were registered, emitting an error would
trigger an actual error instead of calling the listeners.

The test to determine if the listeners array is empty was utterly wrong...
Since the beginnig of time...