Updates code to use sdt.core methods

The methods of sdt.editor have been moved in sdt.core
Modifies the way to get an editor from a viewer

The editor is stored in the TextViewer using getData/setData.
Remove the sdt.editor code