Fix recycler NPE
Fix recycler NPE

It's caused by getting back a null cursor from a query. There are other
places in the code where we could get null cursors. Fixed 'em. Also,
the cursor wasn't getting closed. Fixed that too. Bug 3315962

Change-Id: Ifff2b35cf25627847376131a16686d3420a21946

bmaupin/android-sms-plus