COMMONS-314: No upload icon in Document Selector when Platform runs inside an IFrame

Problem analysis
- Web browser tries to get global element if eXo Platform page is rendered inside an iframe

Fix description
- Restrict search scope in a window object
Merge commit '2a6185e7e50fcdfad84eb0c91a115dbb67e2ce6c' into HEAD