rename commit to commit_id in gw_trans and fix setting gw_trans->commit_id from gw_index leave comment explaining this