Add backup and restore functionality

This allows you to backup grains as zip files, and then restore them on any sandstorm instance, as long as the same appId is present, and the installed app is a compatible version.
I guess Javascript's Date allows negative minutes and will roll the clock backwards, but nevertheless I feel like the following is cleaner:

    var queryDate = new Date(Date.now() - TOKEN_CLEANUP_TIMER);