A worthy new biography of the late historian Eric Hobsbawm shows the ardent communist in the crucible of the 20th century