Validation fixes

 - Fix naming of <td> and <th> in HTML Validator
 - Work started on PHP validator
 - Fixes to files based on validation results