inject http.Client into monit.HttpClient

Signed-off-by: Mike Stallard <mstallard@pivotallabs.com>
Retry when attempting to start monit
[#64196116]

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
refactor retry logic into helper function.

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
adds retry logic for stopping monit services

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
added retry logic to monit status call

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>