Testfiles are supposed to end with a newline

Summary: PHP's tests are supposed to end with newline. This diff corrects the importer as well as does a full reimport.
This fixes 44 bad tests.

Closes #3174

Reviewed By: @fredemmott

Differential Revision: D1475395