COMMONS-314: No upload icon in Document Selector when Platform runs insi...

...de 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