Heat a soup pot over medium-high heat. Add oil and the the pancetta or bacon and render 4 minutes. Add rosemary, the garlic, 3/4 of the onions, carrots and zucchini and season with salt and pepper. Saute the veggies 7 to 8 minutes, then add wine and deglaze the pot. Stir in the tomatoes and stock and bring up the heat. When soup boils, reduce to a simmer and stir in bread and beans. Pile the greens into the pot and wilt them into the soup. Simmer the ribollita 5 to 10 minutes, stirring soup as it simmers until it thickens to a dense stew-like consistency. A wooden spoon should be able to stand upright in the pot. Turn off heat, adjust seasonings and ladle into shallow bowls. Top with grated cheese, an additional drizzle of extra-virgin olive oil, and a spoonful of reserved finely chopped raw onions.