James Howley examines the description and typology of follies, as restoration on three remarkable examples in Dublin reaches completion