Cleanup the REST slides

That includes:

 - Making the line lengths smaller by using shorter variable names

 - Making sure the PHP was syntactically correct

 - Reindenting and retabbing files

 - Making sure the header underlines matched the headers in length

 - Removing extraneous <?php markers

 - Adding try / catch blocks

 - Adding whitespace for clarity