Richard Leonard elected Scottish Labour Leader