Complete String spec

- Complete TK.Data.String_spec with the
  implementation so far.

- Fix bugs detected with the spec tests.