JS/PHP comparison test suite tweaks

Follow-up to I52bd98ee.

* Change CRLF to LF line endings.
* Get rid of loopfunc in JSPHP.test.js.

Change-Id: Ib4166fac75cef32250b3c7756a47036472cc511c
More documentation tweaks

The script wasn't comparing documentation of return values.

Change-Id: I28e011fddab7bf484c91ce14aab86941a10afffa
Merge "More documentation tweaks"
Merge "JS/PHP comparison test suite tweaks"