capture error exit msg from running app; print stdout/stderr of running app if configured
restart the application if it fails for one time
client sends back failed workunit to server to requeue
prevent workunits from being checked out by clients on which they failed before
Merge pull request #6 from wtangiit/master

automatic failure recovery for workunits