Import nova's looping call.

The looping call implementation had drifted in nova away from what
was in oslo. Update olso. I will move nova over to this code in a
later review.

Change-Id: I0e9214a150223dcd4fb1d695db36961bba794166
Merge "Import nova's looping call."