[WIP] Browserstack update

Update of testing client and api
@gjn it seems not to be actually used! I will remove it, except if it needed from jenkins but I doubt it.