Refactor generator of lang.generator - split MC of generated templates from general (QueriesGenerated) MC
MPS-19318 Exception in IntermediateModelsCache when incremental model on, intermediate models and transient models are saved.
Post-processing scripts were not executed if primary micro-step didn't change anything. Now they are. Besides, with primary and secondary processing combined, decrement of micro-step for primary step gets us to a conflict when a model from post-processing is being stored at the same micro-step "slot" as an obligatory model from primary micro step.
Besides, it's important to follow the contract that post-processing script is allowed (at the moment0 to modify model regardless of script kind.
Merge remote-tracking branch 'origin/master' into 3.1/artem/default
According to MPS documentation, gencontext.invocation context is supposed to provide access to origin module.