Improved PopupWindow + added correspoding tests.

Added menu to popup windows. It is now also possible
to search on page in popup window (Ctrl+F).
Added Inspect Element action into popup window's context menu.