A tiny optimalization

Change-Id: Ib2cb773ffe5cb579c2b46bd0e6a5a3f2c55d190d
Revert "Patch Set 1/2: Add an "Automatically Connect" option for WiFi networks"

This commit breaks 3rd party apps like Tasker.  It is being reverted until a better solution can be found.

This reverts commit 19c7d4995a554bc26a17b55f481193c435d30560

Change-Id: Ie279aab8f52bd30dc21dbc70040fb3bd23721e33
Wi-Fi: Ping the driver for wifi-only devices

Wifi-only devices are not capable to find APs with hidden SSID unless a DRIVER COUNTRY command
will send to wifi driver. This change has:

- Send DRIVER COUNTRY command to ping the driver (to correct the seek of hiddens SSIDs)
- Save mCountryCode as uppercase because the wifi_countrycode_values array is in uppercase.
  Otherwise the preference will not be found.

Patchset 7: Rebase
            Do not set mCountryCode if country is null

Change-Id: Ie0f838aef07eaf683b713f7f0e46ff3c751523ab
Allow setting a per-device default configuration for STATUS_BAR_BATTERY

Batteryless devices (like TV-connected mediacenters/STBs) don't need
the battery icon there at all.

Change-Id: Iac7e1b0b813c260bc78f4733409a30da7bda248d