[DF-5016] Added extra restrictions for exclusion of entities
[DF-5016] Fixed detecting of visibility for objects
Merge branch 're_stable' of https://github.com/dava/dava.framework into re_stable

t# the commit.