Fix DefaultRetryPolicy.getDelayBeforeRetry to return delay time rather than a fixed delay value of 0. Add test for DefaultRetryPolicy.
Merge pull request #137 from jasco/DefaultRetryPolicy-delay-fix

Fix DefaultRetryPolicy getDelayBeforeRetry return value plus add test case.