Lawyers and federal judges, particularly in California, are seeing an increase in what are historic rarities: class action trials.