Filters/Outputs can optionally exit without shutting down heka

This is the first pass, I'd like to get some review on it, and I've tested it
with a few different plugins, both filters and outputs, and it seems to work.

I'd appreciate it if someone else could put it through its paces to make sure
I haven't overlooked anything.
Did you mean to overwrite the `err` variable declared in the function's return values? And did you mean to comment out the LogError call?