Added new error handling logic and executors for remote calls.

- Avoids crashing in multiple scenarios which is controlled by `shouldThrow`
- Fixes some potential error handling in case of callbacks are not invoked.
- Added Intelligence and Inference executor to handle remote service calls and multiple failure callbacks in a clean manner.

Flag: EXEMPT refactor
Bug: 423888142
Bug: 416887063
Test: ran cts test suite
Change-Id: I4a2a1121d74d7d5537693ed4c5aa7d2f6de6e916
7 files changed