[Qt] style police and small addition in rpcconsole

- fix spaces, indentation and coding style glitches
- add a check in RPCConsole::resizeEvent() and ::showEvent() to only
  trigger, when the peers tab is selected