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
I'd much prefer using one of the two last variables directly