Bug 980271 - deleteAllSms atom is not working

Also updated getAllSms to work with the cursor itself.
Merge pull request #18236 from chirarobert/980271

Bug 980271 - deleteAllSms atom is not working