qcom: properly query battery capacity

  * 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660 and d2/jf kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I807745028bafa15f2267a37206045e96d1c40e3b
Temp remove RIL
BoardConfig: add BOARD_USES_LEGACY_QCOM
allow skipping CMUpdater/CMFota

Requires http://review.cyanogenmod.org/#/c/54119/
Add BOARD_KERNEL_CMDLINE
Add BOARD_HAVE_PRE_KITKAT_AUDIO_BLOB
Revert "set ro.config.low_ram"

This reverts commit d92976a47b6491d98cff50f989c315fd871d576b.
ancora_tmo: relocate ro.config.low_ram
Enable adb by default
Revert "Temp remove RIL"

This reverts commit 928d1e186bef2250f76fbf0aa1295f482ffa9eca.
Revert "qcom: properly query battery capacity"

This reverts commit 8c1b6d66e6f48bb3672fa912521c6b76393dfe7e.
remove TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK
use CM PowerHAL
restore RIL
Revert "Update es to 6.0.3.0"

This reverts commit 2e6658440f6f34c609a5c4d5c868768e8fc00163.
fstab.qcom: change permissions to defaults
Revert "Enable adb by default"

This reverts commit daeb7fedaaf46e0e78481c6eabe0cdecd2e7bbd4.
RIL subclasses: Fix processSolicited for the new API

pulled from: https://github.com/CyanogenMod/android_frameworks_opt_telephony/commit/603113fa8177fa29a2f42982dffd0e48e8b4d9ba
remvoe conig_show_homeWake
Revert "fstab.qcom: change permissions to defaults"

This reverts commit c63c7d4e2131db7016ff56fa2f4c7b65689969bf.