Add newline at end of file. Fixes #188.

Reported by lavassar.
Bump version numbers and added NEWS entry
Version 4.0.0