[Test] Add RetainCycleTests to reproduce retain-cycle bug.
Fix 496e9af by releasing configuration's pause/resume/cancel handlers on fulfilled/rejected.
Merge pull request #5 from inamiy/retain-cycle

Fix retain-cycle bug.