South African police search for suspects after 17 people were killed at a tavern, while another shooting near Cape Town left 10 dead.