The heavily Catholic nation of Ireland has become the first country in the world to recognize same-sex marriage through a popular vote