COOLING, AGN FEEDBACK, AND STAR FORMATION IN SIMULATED COOL-CORE GALAXY CLUSTERS