The biggest demonstration for LGBTIQ rights in Australian history was attended by more than 20,000 people in Sydney on Sunday.