Mark self-managed calls as "read" when logged.

When self-maanged calls are logged to the call log, ensure that the is_read
flag is set to 1.  This is important for missed calls.  Missed calls which
are unread trigger a missed-call notification.  Realistically we expect
the app to handle the missed called notification on its own, so marking
them as read makes sense.

Also updated the example self managed calling test app to support missed
calls.  Yay.

Test: Added unit tests for this scenario, used manual test harness.
Fixes: 67637603
Merged-In: I0ad0917faed0e9c9902e33489f8715a73b350050
Change-Id: I0ad0917faed0e9c9902e33489f8715a73b350050
(cherry picked from commit 137df1f31a3d1e8b1ab35db9e6bd15ab48f10a8f)
6 files changed