Reimplement the purgeWorld command on top of the new auto save system.
Merge pull request #1366 from flo/purge-world

Reimplement the purgeWorld command on top of the new auto save system.
Quick fix junit test that broke with #1366