Fix EZP-21666: refactor PromiseCAPI and PromiseService classes
Fix EZP-21666: refactor PromiseCAPI and PromiseService classes
Silencing q false positive warning on rejection handling,
CS cookbook fixes
Fix EZP-21671: add tests for Promise part of the CAPI
Fix EZP-21671: add tests for Promise part of the CAPI
dealing with q
Fix EZP-21671: add tests for Promise part of the CAPI
dealing with q
Fix EZP-21671: add tests for Promise part of the CAPI
Branch rebased. Fixes according to Jackob's hints (except custom matcher for error handling)