af-binder: Fix error in synchronous calls
There fixes a bug with an inversion between info
and error in implementation of synchronous calls,
leading to bad detection of errors.
Includes:
*
6bb714c afb-xreq: Remove field 'listener'
*
d325856 afb-binding.h: Ensure json-c/json.h is sourced
*
056c53d AFB.js: Improve default token discovery
*
daecef1 supervisor: Setup services for local API use
*
687d90d Fix detection of error in call synchronous
Bug-AGL: SPEC-2697
Change-Id: I20cf2d5219e7cc962862b604e642610b0f8a75b1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>