Update php-riot-api.php

Handle HTTP Errors in order to: http://developer.riotgames.com/api/methods#!/294/1035