configure: allow GIT_REV to be read from VERSION file
needed for building outside of a git repo
release-source script needs bash
on some systems /bin/sh is a simplistic posix shell
Merge pull request #1934 from wsnipex/gitrev

allow gitrev to be read from file