LPS-36455 open editor file browser in right root folder depending on context

Hi Jorge,

Everyting seems working ok. Only case I can't see clear is when changing scope of a portlet, themeDisplay.getScopeGroupId return the Site groupId, and not the portlet scope groupId. Don't know if this is a normal behaviour.