basis.ui.window: rework Window open/close model

- new property Window#visible (invertion of Window#closed) with
resolveValue support
- new method Window#setVisible()
- deprecate Window#closed (use Window#visible instead)
- drop support for params in Window#open()
- remove emit_beforeShow
- remove emit_active (don't worked for long time anyway)