backuptool: Add support for cross-version whitelists

Change-Id: I415eb4d64d693a7e150656802be7f7c4a0e5ab8b
Merge remote-tracking branch 'upstream/cm-10.2' into dark-jelly-cm-10.2