Refactor test.
Finally get the unit test for purging as expected.

The historyRoot is the base dir for all history files.
Purging acts on the configs for a single item.
Fix failing hudson.plugins.jobConfigHistory.JobConfigHistoryIT.