[embedlite-components] Improve orientation change reporting. Fixes JB#36044
For instance when raw images where loaded to a tab, the tab didn't have orientation change listener registered as domContentLoaded doesn't fire then. This commit adds progress listener that listens only top level loading status. Once top level is reported as loaded, orientation change listener is registered. This adds a fallback code path for interrupted loads.
Showing with 82 additions and 28 deletions