Hundreds of thousands of people lined the streets of Dublin to mark the 100th anniversary of the Easter Rising, a rebellion against British rule that paved the way for independence.