Collapse model IDs in JSON and Share modes

Rewrites all IDs to 1, 2, 3... instead of 10, 202, 988...
GrafTemplate and some unit tests

Crazy idea for expressing multi-op-object creations as very short
single arrays of ordered params. This should get the size of the share
URLs down by roughly an order of magnitude.
doc
placeholder GrafTemplatizer