fixme note about some of the monadic seeming apis in the Mutable module
Cleanup of Layout class. Now parametric over format parameter.
Also added basicFormShape and basicCompareLogicalIndex operations.