For SVY-6452: NGClient: support windows plugin

Added some unit tests and fixed a few problems - again a sub-value ended
up being unattached to the component in a scenario + some small things.