Spin-current-induced classical and quantum effects in the dynamics of a mesoscopic magnet