Patch to allow swaping primary storage for apps

http://review.cyanogenmod.org/#/c/56950/
Swap is triggered by : persist.sys.env.switchexternal=1 in build.prop