South African police are hunting more than 10 gunmen after a mass shooting at a settlement near Johannesburg that killed at least a dozen people.