Added missing newlines to EOF in several public headers.

When imported in a project with GCC_WARN_ABOUT_MISSING_NEWLINE = YES, a couple of headers would fail on this warning. Also enabled this warning in the local project for verification.
Merge pull request #75 from zygoat/missing_newlines

Added missing newlines to EOF in several public headers.
Add missing test
Add missing test
Typo
Merge branch ‘master’