Rework lx_db_squery for better convenience. It's a convenience routine, after all. And I don't think it's been published for long enough for switching its API to be a problem, especially in view of how little liblx is used by others so far.