Saner inventory window pinning/hiding

Hide inventory window pin button in container, companion and barter mode.
Restore the pinned inventory window position when exiting these modes.
Allow toggling windows visibility in inventory mode only.
Merge remote-tracking branch 'potatoesmaster/pinning'