refs #10131. Worker class put in place.
refs #10131. Implement checkGroups

I've actually called it what it is instead. findMultiPeriodGroups. I also really dislike the confusing side effects caused by the existing Algorithm::checkGroups, so I've decided not to go with that design, and instead have findMultiPeriodGroups as a const method.