Multiple cycles and the Bautin bifurcation in the Goodwin model of a class struggle