Fix data type update and merge log header

1.Update data types, including replacing 'uint8' to 'uint8_t',
 'int8' to 'int8_t', 'uint16' to 'uint16_t', 'int16' to 'int16_t',
 'uint32' to 'uint32_t', 'int32' to 'int32_t', 'uint64' to 'uint64_t',
 'int64' to 'int64_t', 'boolean' to 'bool', 'INT32_MAX' to 'INT_MAX'

2.Create a directory 'vaapi', which contains all files
	related vaapi,including 'vaapibuffer.cpp','vaapibuffer.h',
	'vaapiimage.cpp', 'vaapiimage.h', 'vaapiptrs.h',
	'vaapisurface.h', 'vaapiutils.cpp', 'vaapiutils.h'.
  All of those files mentioned above are belong to the directory 'common' before.

3.Update Makefile.am, Configure.ac

4.Add the file 'common_def.h' into the directory 'common',
	which includes the define of 'TRUE',
	'FALSE' and the macro 'N_ELEMENTS(array)'
	and include stdint.h and limits.h

5.Remove the macro 'N_ELEMENTS(array)'  in the files 'vaapisurface.cpp'
	and 'vaapitypes.h', instead of adding the reference of '#include <common_def>'

6.Add the copyright and version into common_def.h

7.Remove 'include <stdint.h>' and 'include <limits.h>' from head file 'common_def.h'

8.Merge 'codecparsers/log.h' to 'common/log.h'

9.Remove 'checkVaapistatus' in log.h  to vaapiutils.h

10.Remove macro 'RETURN_IF_FAIL' and 'RETURN_VAL_IF_FAIL' from log.h to common_def.h

11.Replace 'LOG_INFO' to 'INFO', 'LOG_ERROR' to 'ERROR',
	'LOG_WARNING' to 'WARNING' and 'LOG_DEBUG' to 'DEBUG'