Added missing newlines to EOF in several files.

Enabled GCC_WARN_ABOUT_MISSING_NEWLINE = YES in the demo xcodeproj as a check on this validity.
Merge pull request #77 from zygoat/add_EOF_NL

Added missing newlines to EOF in several files.