After two years of litigation, Apple has agreed to pay up to US$500 million to settle a class action lawsuit alleging it slowed down older iPhones in order to push consumers into buying its later, more expensive models. The devices covered in the agreement are iPhone 6, 6 Plus, 6s Plus, 7, 7 Plus, and…