Remove seemingly unnecessary recursion to nested frame and indirection from window-->document-->back to window again, in focus.js listener registration.  Also, for dojo in an iframe, don't try to register listeners on the parent window, because it might be in a separate domain.  Fixes #4049.  
Remove seemingly unnecessary recursion to nested frame and indirection from window-->document-->back to window again, in focus.js listener registration.  Also, for dojo in an iframe, don't try to register listeners on the parent window, because it might be in a separate domain.  Fixes #4049.  

git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@10014 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful