Dynamics of the attractive 1D Bose gas: analytical treatment from integrability