Adopt FMDatabase and FMResultSet
Replace remaining SQLDatabase calls with FMDatabase sqlDatabase calls