gril: Add signal strength parse support

Add g_ril_unsol_parse_signal_strength() which
is used for parsing both the unsolicited signal
strength message *and* the signal strength reply
which shares the same event_data parcel format.
 unit: Add grilunsol signal_strength test
rilmodem: Use grilunsol signal_strength func

Replaced the last rilutil parcel function used to
parse signal strength replies and unsolictied messages,
with the new g_ril_unsol_parse_signal_strength() function.
Also got rid of the unused ril_util_parcel_init() function.
gril: Re-factor g_ril_send to use *parcel

Re-factor g_ril_send to take a *parcel instead of
separate *data and data_len parameters.  This allows
g_ril_send() to free the parcel after it's been queued
which simplified the rilmodem driver code.  g_ril_send()
now also call g_ril_request* to output the tracing log
messages for requests, again simplifying driver code.
Finally removed the unused file grilresponse.h.
rilmodem: Re-factor usage of g_ril_send()

Re-factor usage of g_ril_send(), as it now takes a *parcel
as opposed to *data and data_len.  Also removed calls to
parcel_free() and g_ril_print_request*(),as both are now
handled by g_ril_send().  Finally, got rid of unnecessary
local variables for g_ril_send()'s return value, and similar
change for request (id).
plugins: Re-factor ril's usage of g_ril_send().
Merge pull request #39 from tonyespy/gril-rilmodem-refactor

Gril rilmodem refactor

Tested in:

current build number: 49
device name: mako
channel: devel-proposed
last update: 2013-12-05 15:48:01
version version: 49
version ubuntu: 20131205
version device: 20131203
rilmodem: Support for USSD and SS provisioning
gril: Parcel processing for USSD and SS
build: Build ussd and call-settings for rilmodem
plugins: Create ussd and call-settings for ril
unit: USSD and SS parcels tests
rilmodem: Don't parse error SMS reply

Don't parse an SMS reply if the error from
rild indicates FAILURE.  This could cause a
crash in parcel_r_int32() code (LP: #1260388).
Merge pull request #41 from tonyespy/lp-1260388

rilmodem: Don't parse error SMS reply
gril: fix cancel_group/offline crash (LP: 1262340)

When the modem is set offline (for FlightMode), the
core ofono code will call remove() for the call-volume
and netreg drivers, which will result in the low-level
gril function ril_cancel_group() function being called.
This low-level function has a bug in its queue logic
which can result in commands which have already been
sent to rild being removed.  This causes problems when
a response is received, as the code asserts that the
command_queue length is >0 when an incoming response is
received.  This fix is based on a nemomobile ofono fix:
 - https://github.com/nemomobile-packages/ofono/
 - commit: 1266c212271e44db59aab2ef5d773b0afa015e48
 - Author: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
gril: Added support for RADIO_STATE_CHANGED

Added support for the unsolicited RADIO_STATE_CHANGED
message, which includes an undocumented radio_state (int32)
as its event data.
Merge pull request #36 from alfonsosanchezbeato/ussd

USSD and SS support
rilmodem: Fix conference calls for maguro

This fixes bug LP #1257206
Merge pull request #42 from tonyespy/lp1262340

gril: fix cancel_group/offline crash (LP: 1262340)
Merge pull request #40 from alfonsosanchezbeato/maguro-conference

rilmodem: Fix conference calls for maguro