Add master-restore script

Create a script to automate starting spare master on metalogger machine.

The script:
- rebuilds metadata from metalogger changelogs
- switches IP address to that of the master machine
- starts mfsmaster