Assistant: Extract StdInListener class from RemoteControl

Also rename StdInListenerWin to StdInListener and select
the needed version during compilation.

Change-Id: I4ef45feee71bae47ef3dfb63e91b7e3154886006
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>