acummulated a lot of changes.

notably the guessing of snapshot schema now takes a template.
if a template is given then there won't be guess.

fixed writing out snapshot files. (in Snapshot. not in Store yet)

update meshindex format.