Added Redis backup and restore capabilities

Currently limited to rdb and doesn't muck with config files.
Refactored large portions of MySQL backup code to share whatever
the two datastores had in common.
In the light of day it dons on me how unsafe it is to leave this code in place at all. I'll change this to parse the directory programatically.