Split model infrastructure out into model-core and model-groovy subprojects.