Bug 982557 - migrate old prefs and set apkPackageName after updating app via APK; r=mfinkle