Add irc_output to heka

JoinAndPart is global to the output, you can put this check outside of the loop instead of checking it multiple times. In fact, this makes this callback a no-op, maybe we just don't register the callback at all if JoinAndPart is true? Or maybe we need a flag to confirm that the connection has happened for the JoinAndPart case?