Revamped PHP Quickstart

And additional subsequent fixes to the Java and Ruby ones based on
tweaks.