High frequency local modes, superconductivity and anomalous isotope effect in PdH(D) systems