Minor change if curl_exec() fails

Check that $result['json'] is set in initApp() function, if curl_exec() fails
Merge pull request #21 from pablogumilla/master

Minor change if curl_exec() fails
New SDK PHP
Merge pull request #24 from brunoelia/master

New SDK PHP V.1.0.0
Merge remote-tracking branch 'upstream/master'