build: try to save current version in `VERSION`
build: use the same way as libbsd for version and changelog

See:
 http://cgit.freedesktop.org/libbsd/tree/
build: also ship ./autogen.sh