Implement password entry for GTK and WPF

Implements a password entry for GTK and WPF. WPF part is currently untested, as Xwt.WPF doesn't compile on master.