Fix DefaultRetryPolicy getDelayBeforeRetry return value plus add test case.

DefaultRetryPolicy.getDelayBeforeRetry was returning a fixed value of zero milliseconds delay.  Now returns value computed by exponential backoff policy.