Buttons: Allow disabling hard navigation keys

This adds support for enabling the navbar on devices with
hardware keys.
This requires that the device supports the KeyDisabler
HAF methods, and is available in the Buttons menu

Change-Id: I01bd83b312745b4a8aa3bde0cf5f02ea99a888cc
(cherry picked from commit fa000453dce8936ee6805c8d953f3ab8d42f2b21)
Settings: ES translations

- CAF refactor
- Fixed translations
- Added misssing translations

Change-Id: I2633521431eb5b461f1b500a0c0219e3ff128f64
(cherry picked from commit 015405cb7c5de2cb01b951e1f2c9366042e077e4)
Settings: use CMHW serial number for MSim

Change-Id: I2cb7f841699d79259711309fb6fd2de00bc8da75
(cherry picked from commit a375ae4dc04004b24184adcde4dc7c548fbb5dd1)
Settings/Wifi: Add support for Ad-hoc (IBSS) networks

If the WLAN driver can support IBSS mode, show Ad-Hoc (IBSS) networks in the
list of available Wi-Fi networks and allow to connect to or create new Ad-Hoc
networks.

This is merged and ported from CM-10.2, where it was split up into 3 commits.

Change-Id: Ib58d05d05ce00a77d5b88ee57007d38798d7b43d
(cherry picked from commit a2e2a34851d1ac9b2008902bd1444b428df305cc)
Fix resource IDs being added to the android namespace

Using @+android:id/some_id will create a new resource ID
with package ID 0x01 rather than 0x7f, for non framework
packages, if "some_id" does not already exist.

Change-Id: I86d57ae6ac88e7dae8420a92e4d55b6c935fd188
(cherry picked from commit 6f648dcf2a6ecdc76d01d832ffc806c6add56c70)
Settings: Fix value from being overwritten with null.

After awhile this value becomes null for unknown reasons.
Switch back to a non-changing static final for the non-multi-sim case.

Change-Id: I9248a545ed35ec10048781b21a3e6a6b17e96d74
(cherry picked from commit 2749a9520230ddba001821bb6427e0dd7d0ce77d)