Bug 968815, uplift to v1.3

Bug 968815 - [SMS] update thread when last message is deleted, r=julienw
(cherry picked from commit 988c320bccfa7f873dc2ef3e7c34a11a9f4ad409)

https://bugzilla.mozilla.org/show_bug.cgi?id=968815