Resolve references after moving code into a class
Resolve references after moving code into a class

* 'this' doesn't work here, because we're using anonymous functions.
  Instead copy a reference to 'this' early, and use that inside the functions.
* use 'bind' with function references in resolveRetry, so that we retain 'this'
  properly.

Broken since: https://github.com/Collaborne/kubernetes-aws-resource-service/commit/b53287866a90e79e9e9ca6a229c10d2fa5934115

Collaborne/kubernetes-aws-resource-service,Collaborne/kubernetes-aws-resource-service