view listeners to create proper JSON responses

Controllers just have to return objects implementing one of either
Xabbuh\XApi\Common\Model\StatementInterface or
Xabbuh\XApi\Common\Model\StatementResultInterface. Two listeners
inspect the controller result through the VIEW event, create proper
JSON encoded statements or statement result by using a serializer
and finally set the response to be sent to the client.