Justices End Term with Victories for Gay Rights and Affirmative Action, But ACLU Says Supreme Court Remains Fundamentally Conservative in Outlook