Bug 1016875 - Part10: GetPrincipal for imports. r=mrbkap