Interplay of superconductivity, magnetism, and localization in Mo/Ni superlattices