Grammars of Development: Discrete-State Models for Growth, Differentiation, and Gene Expression in Modular Organisms