Bug 787395

- hack around for error in onUntrack caused by bug 855484
- adding show/hide methods to sdk/ui/actions
- adding attach/show/hide events
- tests for new windows
- added private browsing test, when it is not supported