Refactor insert/materialize node schemas.

Yes, and I should have commented on this.  The linked part ensures that when one iterates over the entries in the table, that they are returned in insertion order (except apparently when entries are removed and re-inserted).  I need to preserve the column order provided by the user, and this seemed like the easiest way to do that.