Finite Gap Jacobi Matrices, I. The Isospectral Torus