lib: factor common long-running plugins code

This branch starts off [#22](https://github.com/hammerlab/ketrew/pull/22).

This creates a new module oddly named `Ketrew_long_running_utilities`
which contains things which were in *almost* every long-running plugin so far.

In the process, LSF and Daemonize backends got more “precise” about
setting a target as “failed.” The previous code was sometimes setting as
failed a target even if it was technically successful.
It's is partially defined there: http://seb.mondet.org/software/ketrew/api/Ketrew_host.html#TYPEt

Just thought a glossary would be helpful: https://github.com/hammerlab/ketrew/issues/26