The Integrable Dynamics of Discrete and Continuous Curves