autogen script changed

Set -e added.
Regex for changelog version modified.
Made mkversion.sh executable.