How a 163-year-old Swiss bank became the world's largest wealth manager - by absorbing the rival that nearly took the whole system down with it.