An easyJet plane was forced to make an emergency landing just 25 minutes after it took off from Edinburgh Airport.