The East Dunbartonshire MP becomes the first woman to lead the Liberal Democrats after defeating Ed Davey in a contest for the role.