Stephen Whelan also trespassed twice at another Dublin hospital, caused criminal damage to a building at the Dublin City University campus and stole toiletries from a pharmacy