sr: Allow data and media wipe after install

 * This is for automated installs that use /cache/recovery/command

Change-Id: I30566981b91be68e94af93518211ae2ce7089c68

FROM: http://review.cyanogenmod.org/#/c/74410/