move orphan validation into the import process

- changed back to motasem code
- moved nik validation of orphan into orphan importer
- invalid orphans now show in error screen on import
nice suggestion - agreed I need to tidy this up.