Made ShouldResume() a strategy.
Added a test for no resume.
Added purge functionality and tests.
Merge pull request #14 from dkorolev/master

Purge() + better Resume() + more tests.