healthy: add DetectFailure func
DetectFailure assume all health keys are setup
differentiate failure from detecting failed task
refactor detectAndReportFailures
Merge pull request #89 from fengjingchao/master

healthy: add DetectFailure func