QmlDesigner: Refactor QmlDesignerPlugin::selectModelNodeUnderTextCursor

Change-Id: I439d049bfc399252aee1865ea66c920859c88d2f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>