Completion: simplify move_cursor()

Add some higher level functions in the CompletionModel.