Fix two bugs with multipart SMS handling: signals and listing.

First, arrange for received/complete signals to be sent by calling
cmti_received_has_sms() with the message properties even if the
message isn't complete yet.

Second, make the operation of the List command's multipart message
handling independent of message order by doing one pass to insert the
messages into the cache and second pass to retrieve the complete messages.

BUG=chromium-os:22591
TEST=autotests: network_ModemManagerSMS, network_ModemManagerSMSSignal
     manual: send long SMS to device while logged in

Change-Id: I59d9bd0fc98baa09253fc14b05eb8998c365b5bb
Reviewed-on: https://gerrit.chromium.org/gerrit/12050
Commit-Ready: Nathan J. Williams <njw@chromium.org>
Reviewed-by: Nathan J. Williams <njw@chromium.org>
Tested-by: Nathan J. Williams <njw@chromium.org>
1 file changed