Companies have never spent more to defend against class action lawsuits. Yet the number of in-house attorneys dedicated to handling class actions and the amount of time they focus on them is on the decline.