added cron_purge configuration option to module

Passes rspec tests.