Added tests for dump file purging.
Added DB dump purging and defaulted it to keep 5 dumps. Closes #11.