Added Newlines

Appended newlines to every PHP document that did not have a newline as the last character in the file.
This ensures all PHP files follow the Core Code Style according to the Yii2 Wiki. This follows on from issue #95.