Make test_backup and test_restore usable again

 - Add copyright headers
 - Allow the user to pass options (like '-s FOO') to adb
 - Restart device adb as root if needed
 - Make test_restore to infer a restore set
2 files changed