Radio galaxies in cooling core clusters. Renewed activity in the nucleus of 3C 317?