A representation theorem and a Lyapunov theorem for Ts-measures: The solution of two problems of Butnariu and Klement