Handle newer libhtc_ril.so releases

Querying available networks returns five strings per network instead of
four which breaks that functionality in RILJ. This fix most likely
appiles to every library since Hero.

Disabled per default, define BOARD_USE_NEW_LIBRIL_HTC if you are
building with libhtc_ril.so libraries version 2 and above.

Conflicts:

	libril/ril.cpp

Change-Id: If14c6d9253a50b35461fcc8aed587cc89af18ee2
libril: Provide support for legacy ril

With change Icc620fd191f8542f61bd38e365813753bfedefdf, RIL_VERSION_MIN was
increased from 2 to 6, but this causes problems for a number of devices
using ril blobs older than that.

  E/RILC    (  140): RIL_register: version 3 is to old, min version is 6

Consequently causing the ril system unable to connect to the rild socket.

Conflicts:
	include/telephony/ril.h
	libril/Android.mk

Change-Id: I82c1cc4dab8fcaa4ccaa099132133b0f3b1d8029
Merge pull request #1 from omnirom/android-4.4

合并自 omnirom android-4.4