add generating script and the first version of codec_ver.h
use WELS_LOG_ERROR as default trace level in console app
modify WELS_LOG_WARNING as the default trace level
Make sure the random test bitrate is high enough

The ForceIntraFrame test will fail (giving up after 100 skipped
frames) if the bitrate is not set high enough.

Set the minimum bitrate to w*h/50, which is a very low value,
but which still should allow getting a non-skipped frame within
a few attempts.
Avoid rebuilds if the version header hasn't changed

When generating the version header, don't overwrite it if the
new version is identical to the old one.
If lowering the maximum number of ref frames, check iNumRefFrames as well

Make sure we don't set iMaxNumRefFrames lower than iNumRefFrames.

This fixes occasional test failures in
EncodeDecodeTestAPI.SetOptionEncParamExt.
Change the name and call logic of CheckRefPicturesComplete function.
cabac fix
add check for cabac_init_idc range in parsing
Merge pull request #1647 from HaiboZhu/Debug_Check_Ref_Picture_Complete

Change the name and call logic of CheckRefPicturesComplete function
Merge pull request #1646 from dongzha/cabacfix

cabac fix
add fix for protection of wrong reading if input is invalid
put this file into good format
Merge pull request #1641 from mstorsjo/test-min-bitrate

Make sure the random test bitrate is high enough
Merge pull request #1643 from mstorsjo/check-num-refs

If lowering the maximum number of ref frames, check iNumRefFrames as well
Merge pull request #1649 from sijchen/fix_trace

[Encoder] fix a potential problem of trace
unify spsid for pic and add check for mb_qp_delta
Merge pull request #1648 from huili2/bugfix_cabacinitidc

add check for cabac_init_idc range in parsing
Merge pull request #1650 from huili2/bugfix_cabac_mbqpdelta

unify spsid for pic and add check for mb_qp_delta
Merge pull request #1638 from ruil2/default_trace

modify WELS_LOG_WARNING as the default trace level