Clean up grouping code so that the shared code is in lams.jar, and making it so that learner can't trigger the chosen grouping. I18N the grouping screen and added a wait page for the chosen grouping.
Fixed more grouping/gate issues in authoring - if the user changed the type of grouping or gate after saving, the gate/grouping type was not updated. Now a new record is created with the new type.