Clean up the insert/update path in sqlloader a little

Detangling "figuring out what is an insert vs. an update" from
actually doing the updates.  This will allow easier addition of
validation between those two stages later.