nandroid: Allow tar backups of yaffs2 partitions

Change-Id: I33dca9864b043527640c6586751c9399bc3fb156
clean up unused variables and fix compiler warnings

Change-Id: I3c3e30d5e27706d59be78ec935e8a095ba4ab0c0
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
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 remote-tracking branch 'cm/cm-11.0' into cm-11.0
Merge pull request #3 from androidarmv6/cm-11.0