CB-4279 : Bridge test now generic and tests available modes

The test now inspects the bridge for the supported modes and tests all combinations of js->native, native->js and sync/async. Tested on android, should be generic.