add generating script and the first version of codec_ver.h
skip the git version hash in the header
Merge pull request #1603 from sijchen/add_ver1

add generating script and the first version of codec_ver.h