European Union-critic Catherine Connolly has been elected Ireland's president after attracting 63 per cent of the vote.