Ab initio Study of Spin-Dependent Transport and Magnetism in Heavy and Superconducting Metals