optimizations and modifications for ROM updates

xdelta is only used if the previous version is stored on the device

patchset 2: added Settings
patchset 3: inter alia disable button if CyanDream is not available for device

Change-Id: I8865de11b04d4bacbee932fafaefc8d0faa94680