Remove white spaces and fix indent.
Remove unused import.
Determine if the object can be selected.

Use the id of the objet and not the canLink method.
Fix selection for dataset and screen.
Load group data

Discussed with Gus. This should help the person import the data
finding the correct target.
Sort the nodes by user and by alphabetical order.
Merge pull request #1310 from jburel/import-as-bug

Import as bug