Bug 868896: Support AT+CPINR for PUK locks

This patch adds support 'SIM PUK' to the AT command +CPINR in
the emulator. Most of the necessary infrastructure is already
in place.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Merge pull request #38 from tdz/bug-868896

Bug 868896: Support AT+CPINR for PUK locks. r=vicamo
Bug 837448 - fix comparing garbage data in sms_address_eq. r=hsinyi

The |addr1->len| is the number of digits, and SMS-ADDRESS packs two
digits into one octet.  So sometimes the garbage data at the end fail
the comparison, which in turn fails |sms_receiver_find_p()|, and then
results in a new fragment created with wrong parameter.
Merge pull request #40 from vicamo/bugzilla/837448/fix-intermittent-test_emulator_loopback-failure

Bug 837448 - fix comparing garbage data in sms_address_eq. r=hsinyi
Bug 897015 - Extends 'modem tech' command to support switching preferred network type.
Merge pull request #42 from EdgarChen/bug_897015

Bug 897015 - B2G Emulator: support switching preferred network type in console command. r=vicamo
Bug 845174 - B2G emulator: support RIL_UNSOL_CALL_RING. r=vicamo
Merge pull request #25 from hsinyi/bugzilla/845174/master

Bug 845174 - B2G emulator: support RIL_UNSOL_CALL_RING. r=vicamo
Bug 821615 - B2G 3G: Unable to deactivate data call on emulator. r=vicamo
Merge pull request #43 from jessi3py/jessica-master

Bug 821615 - B2G 3G: Unable to deactivate data call on emulator. r=vicamo
Merge remote-tracking branch 'b2g/master' into b2g-jellybean