exclude phpstorm files
fixes rethrowing of exception bug
fixes rethrowing of exception bug
adds handling for warning responses

response can hold string "ok" instead if array in case entity has moved to new factual id.
json response looks like:
{"version":3,"status":"warning","error_type":"DeprecatedEntity","message":"The entity *factual-id* has been moved.","deprecated_id":"*factual-id*","current_id":"*factual-id*","response":"OK"}