FACES-1639 Bridge improperly throws BridgeException when an error is detected during Ajax (introduced compatibility layer for ajax detection -- renamed method)