PHP 5.6 compatibility

$HTTP_RAW_POST_DATA is now DEPRECATED
Replaced all usages by the recommended file_get_contents("php://input")
Merge pull request #1892 from GPCsolutions/php56

PHP 5.6 compatibility