Two passengers have won a landmark case against Ryanair over compensation for flight delays which could benefit millions of people.