The Role of AGN Feedback and Gas Viscosity in Hydrodynamical Simulations of Galaxy Clusters