Jon Martin was sent off for Real Sociedad as Thomas Frank earned a first victory in charge of the Eagles