Update API  data send

Info: http://docs.phalconphp.com/en/latest/api/Phalcon_Http_ResponseInterface.html
Merge pull request #1 from xboston/patch-1

Base controller API response now uses setJsonContent instead of json_encode