The South African president narrowly survives a motion of no confidence against him in parliament, the most serious attempt yet to unseat him after months of growing anger over allegations of corruption and a sinking economy