Fixing issue #5277 remote webdriver doesn't throw an exception if finding by compound class name

Fixing issue #5277 remote webdriver doesn't throw an exception if finding by compound class name

Source of issue is that during remote work son parameters generateion was out of try catch block
so if something like exception for invalid class name locator is thrown
it was not catched and incorrectly returned to client.

2 tests are added.