Added optional flag to ClientTest to stop on failure and also added a failure counter.
Added optional flag to ClientTest to stop on failure and also added a failure counter.

scalien/scaliendb,scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,scalien/scaliendb,timoc/scaliendb