update-binary: Add collect_backup_data function

Add a function to identify files being backed up during an update so
they can be managed when applying patches.

Change-Id: Ied18d569a396a7324148d6a93809683673a19403
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_bootable_recovery into cm-11.0