fix EditorSelection.getCursor as it returns null,

since yui-cursor was changed to be a class, so the call should be
changed.
[Editor]: Build.