configure.ac, doc/version.texi, NEWS: Bump version to 0.5.0