wifi: Allow configuration of country code for wifi (2/2)

Wifi country code handling is a nightmare - Most retail devices
have region customization in /system for each country a device
is shipped to.

This doesn't work very well for a firmware like Cyanogenmod,
where we try to support all target countries with one firmware
package.  For whatever reason, with newer Broadcom drivers/
firmware blobs, the old trick of using a universal region code
(ccode=ALL in nvram_net.txt) does not seem to work.  Who knows
what the deal is for other wifi chipsets.

The good thing is that wpa_supplicant has a standardized
cross-chipset method for setting the region code, and we
use that here.

Ported from cm-10.2
Framework part: http://review.cyanogenmod.org/54997

Change-Id: Ia9f5133f61f56d89ccb290e37a393f5de507e1cf

Conflicts:

	res/values/cm_arrays.xml
	res/values/cm_strings.xml
Wi-Fi: Manage Wi-Fi AP priorities

AOSP has a basic LRU priority for Wi-Fi networks (last connected has more priority).
This changes added the ability of graphically set the priority of any of the configured
Wi-Fi networks through Settings -> Wi-Fi -> Advanced Settings -> Wi-Fi priority.

Port from cm-10.2:
* Added ic_grabber icons

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ief590e799cdb7ef760b631d0b22d9719f867393f

Conflicts:

	res/values/cm_dimens.xml
Settings: remove force overflow button

As of KitKat, the overflow button is always shown regardless of if
a physical menu button is present or not.

https://android.googlesource.com/platform/frameworks/base.git/+/ea04f3cfc6e245fb415fd352ed0048cd940a46fe

Change-Id: Ia05756248e9f55ac68bf31abdb7327edf6a806c4

Conflicts:

	res/values-de/cm_strings.xml
	src/com/android/settings/cyanogenmod/ButtonSettings.java
settings: bring back volume key cursor control

Framework part seems to have survived the merge.

Move volume key cursor control from language & input
to button settings.

Change-Id: Ice2b266e8fdbcdf805d36d8f2e335b569e57be65

Conflicts:

	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/button_settings.xml
	src/com/android/settings/cyanogenmod/ButtonSettings.java
Merge branch 'kitkat' of github.com:AOSPA-legacy/android_packages_apps_Settings into kitkat-legacy