Add set_single_row_mode and extend result_status as needed.

Maybe this can go into the next release, as well?  I don't use it currently myself, though I image I might in the future, and it's rather simple binding-wise.  If you prefer, I can rebase in case you merge my other pull request.