test for conflict in import directory creation
provide sleep timer class for semaphore sharing
Merge pull request #2660 from mtbc/rebased/develop/trac-11096-import-dir-uniqueness

fix #11096: import directory uniqueness exception handling (rebased from dev_5_0)