test: add rilmodem specific tests

Add rilmodem directory and tests to be used both for
daily and CI testing.  Some of these tests are only
meant to be run within the touch emulator, as they
rely on the emulator console commands in order to
change the state of the mocked modem.
test: enhanced rilmodem/test-sim-online script

Enhanced the test-sim-online script so that you can
specify if the script is running in the emulator,
optionally cause the script to online the modem, and
finally if running on real hw, specify specific property
values to match against.
test: Cleanup TODO comments in rilmodem tests
test: cleanup rilmodem review style comments
build: add rilmodem tests to build
git: Add test-mnclength to .gitignore
gril: Parse correctly signal strength event

The signal strength event was not being parsed properly in the case of
ril v5 parcels.
idmap: use UL for bitshift literals (LP: #1271284)

The current bitshift logic in idmap incorrectly uses
the literal 1 for the value to shift in idmap_alloc(),
idmap_take(), and idmap_alloc_next().  This causes the
resulting value to be an int instead of a long, which
results in the wrong bit being set once the number of
bits to shift operand exceeds sizeof(int).  Also
on some platforms, the behavior of the left bitshift
operator is undefined when this overflow occurs.
Merge pull request #51 from tonyespy/lp1271284

idmap: use UL for bitshift literals (LP: #1271284)
gril: Changes to prepare for OEM modems

* Add the rild socket path as an input parameter to g_ril_new()
* Remove unneeded ril_s::connected variable
* Implement g_ril_set_disconnect_function()
plugins: Adapt ril to changes in gril interface
Merge pull request #50 from alfonsosanchezbeato/oem-plugin

Some changes to prepare for OEM
Merge pull request #46 from tonyespy/rilmodem-test

Rilmodem test
src: Fix roaming status for MVNOs

Many MVNOs store their equivalent home networks in EF_SPDI. Displayed
name was shown properly, but not the roaming status. This problem does
not affect all modems, as many of them already read SIM files and
report the right status.
src: Fix EF_PNN access

EF_PNN was not being read properly, which affected the displayed PLMN
name for some MVNOs. Some modems already read the file and return the
right string: these do not show the problem.
unit: Fix test to use valid EF_PNN

test-simutil was not using EF_PNN files with the right format.
Merge pull request #52 from alfonsosanchezbeato/mvno-detection

MVNO detection