Leaders of Great Britain and Ireland joined mourners at the funeral of Lyra McKee, the journalist shot dead during rioting in Northern Ireland last week.