Catalonia's regional government declared a landslide win for the "yes" side in a disputed referendum on independence from Spain that descended into ugly scenes of mayhem.