VE-540 Update VE PHP controller to send API URIs

DO NOT MERGE until accompanying Parsoid update is accepted (VE-541).

@inez @kflorence @BladeBronson @lizlux