Don't parse JSON to figure widgetset location (#11203 #13689)

Instead uses server side API.
TestServer chanced to accept a 'productionMode' parameter to aid testing, but no actual test added.

Change-Id: I02912635992d71d8107f91be03bca00b78b88805