New Jersey filed a lawsuit against Standard & Poor’s. The charge is that the company misled consumers about the independence and objectivity of its ratings services and, for self-serving reasons, used outdated analytic models to maximize market share and profits.