On the 150th anniversary of its completion, Michael O’Neill traces key chapters in the Pakenham-Guinness Restoration of St Patrick’s Cathedral 1845-1865