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.
Hello darkness my old friend...