Fixed File->Import node selection error.

Sometimes the imported script will add a plug to the ScriptNode, and since we can only select nodes we must filter these out when changing the selection.

This addresses the latter half of #1077.
Merge pull request #1078 from johnhaddon/fileImportFixes

Fixed File->Import node selection error.