Clean up the purge script and remove redundant zeroings.
Clean up the Rakefile and fix things for newer versions of Packer.

Fixes #7