Move the update_token_stems commit outside of the row iterator
Move the update_token_stems commit outside of the row iterator

This is a 10x performance improvement for the set-stemmer command.

As a side effect, reorder update_token_stems to be more readable.

pteichman/cobe,tiagochiavericosta/cobe,wodim/cobe-ng,DarkMio/cobe,LeMagnesium/cobe,meska/cobe,LeMagnesium/cobe,meska/cobe,wodim/cobe-ng,pteichman/cobe,DarkMio/cobe,tiagochiavericosta/cobe