fixes #7608 - Override all puppetclass parameters in one click

proposed patch for #7608 adding a link on the puppetclasses page to set all parameters of the selected class to overriden
actually , i needed different return codes for not overriden or when there are no parameters, since i dont want the override link to show up for classes without parameters