The funeral of a young Co Londonderry boy who died after a cancer battle has heard tributes to a “little hero” and “real warrior”.