Magnetism and superconductivity in the new family of actinide compounds : AnPd5Al2