Add support for BOARD_PROVIDES_LIBRIL

Change-Id: I2e2f3a717ce732fd6eec8b876758f38ac1a98868
libril: some blobs don't support CELL_INFO_LIST commands

RIL blobs that don't support CELL_INFO_LIST needs this ifndefs,
or rild keeps crashing with segfaults.

Change-Id: Ifcd717740db812ce9a2371fcb20ed61d07efffe1

Conflicts:
	libril/ril.cpp
	libril/ril_commands.h
	libril/ril_unsol_commands.h

Conflicts:
	libril/ril_commands.h
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 4 is to old, min version is 6

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

Change-Id: I82c1cc4dab8fcaa4ccaa099132133b0f3b1d8029

Conflicts:
	include/telephony/ril.h
Initialize the buffer

Initialize the char array to null character
as there is a possibility that it is not null
terminated.

Change-Id: If1eca2b2f3ec22bafeb303da02deb62f0655241c
CRs-Fixed: 584311
Use SimRefreshResponse struct in RIL Versions greater than 7.

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

CRs-Fixed: 597007

Change-Id: I40fb4ad96e191ae6641eb31da014515d08704382