Left-wing independent Catherine Connolly pledged to be a president for all after being elected as Ireland’s 10th president.