Fixes for the sqlite3changeset_concat() API regarding patchsets.
Fix some missing and out-of-date comments in the sessions module.