Bitcoin-Qt: save and restore position of debug window

- uses the code from BitcoinGUI, but has no fixed values for the
  debug window dimensions (they are queried in the constructor)