Improve some comments
Update PHP per coding standards
Populate the editions table automatically, if empty

Per #375, and closes #276.
Reformat PHP per coding standards

Plus a bunch of random changes. Whitespace? I don't know.