Hundreds of rioters attacked police and set homes and cars in Ballymena alight following a protest over an alleged sexual assault in the town.