Jonathan Drouin scored the shootout winner as the Montreal Canadiens edged the Philadelphia Flyers 3-2.