NOJIRA: (make-release) Update version numbers to bampfa_4.0-31 and generate release notes.