improve SPA error and Async res API
@ryuukyu : turned out you were right, we do want to expose the numeric result in case of success.
I figured it would be good to have a higher level API around async result. Let me know what you think.
Edited by Guillaume Desmottes