Set subscription_mode in the database to a default value

If ro.telephony.default_cdma_sub is set, use that to set the
default CDMA subscription source in the database. If that is not set
use the default preferred value defined in the source code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d
Fix resource id of networkAttributes

 * Google didn't make networkAttributes a public resource, so everyone
   is failing CTS after adding new resources to the framework. This
   fixes it.

Change-Id: I1fdade47098bc9030116230dce27a3e6e5aab413
api: Add networkAttributes to the public resource list

Companion change to I1fdade47098bc9030116230dce27a3e6e5aab413

Change-Id: I54a95f1748d7b60be0c15a9a2f7f7badc13cbbd8
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2