Fix JSON detection
Test case for #2819
Fix #2819
Updated CHANGELOG
Merge pull request #2828 from sjinks/issue-2819

Fix segmentation fault in zim_Phalcon_Http_Request_getBasicAuth
Merge pull request #2775 from remicollet/issue-json

Fix JSON detection