Fix #4735 - check importer permission
Rewrite to take vsite existence into account.
Skeleton for tests
Minor fix and adding basic tests
minor
comments
syntax
syntax
add phpdocs
Merge pull request #4740 from shushu/4735

Add og_user_access in case of vsite in os_importer