automagic.sh: add a shell script that's executed by updater-script to prevent possible dirty flash issues

the first preemptive fix is to kill all quickboot persistent properties on flash, in case quickboot gets stuck in an undefined state

Change-Id: I2d90f729128b115d8b48237568a697b5724250e6