Add an lsb_set_error method

https://github.com/mozilla-services/heka/issues/1191