DERBY-672: Make a helper class serializable so that the test class ModeAggregate can be used for tests of grouped aggregates with many groups.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1459784 13f79535-47bb-0310-9956-ffa450edef68