Christiaan Corlett looks at a valuable, but little-known portfolio of photographs taken by Victorian doctor Ephraim MacDowel Cosgrave, now in the collection of the Royal Society of Antiquaries of Ireland