PDS backup and wifi MAC calibration

Adapted from Quarx2K defy implementation and others

Change-Id: I038cc2b453b22c13a4005e3f96e51172566d04a6
Add 20-wifi call to handle case where user dirty flashes

If user dirty flashes the prop is already set and calibration needs
to be ran once after boot.

Change-Id: I862925919d41b582c52ec68cddd5af195c61091f
Make sdcard (internal) primary storage so CMupdater works

Change-Id: I03906f91181ad69d92f829e363be20ac8533fea8
Upstream commits
Merge remote branch 'upstream/cm-10.1' into jb2