An estimated 500,000 people lined the streets of Dublin to pay their respects during the funeral of Irish revolutionary hero Michael Collins.