The first visit by a pope to Ireland in nearly 40 years comes as the Catholic Church is rocked by scandals over clergy child sex abuse and cover-ups.