Bumped version number and updated NEWS.md for 0.3.1 release