VE-540 Update VE PHP controller to send API URIs

DO NOT MERGE until accompanying Parsoid update is accepted (VE-541).

### Checklist for merge
* [x] Update based on code review comments
* [ ] Merge Parsoid dependency (https://github.com/Wikia/mediawiki-extensions-Parsoid/pull/11)

@inez @kflorence @BladeBronson @lizlux