Removed closing PHP tag from all files, see #1077 and links in that thread