Sixteen-year-old girl often missing from care caught selling crack cocaine on O’Connell Street, court told