Replace the data type

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.Remove the file 'basictype.h', and the add file 'common_def.h' in folder 'common'

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

4.Update Makefile.am, Configure.ac

5.Add the copyright and version into common_def.h
baseencoder: support external display
vaapipic: base for encoder and decoder picture
decoderbase: allocate surface from pool
decoderbase: add outputPicture
vp8dec: use smart ptr
jpegdec: use smart pointers
decbase: add createPicture
h264dec: use smart ptr
h264dpb: init invalid buffer to NULL in reflist
decpicture: use std::pair instead VaapiDecSlice
VaapiEncPicture: derived from VaapiPicture
h264dec: do not use INT_MAX for poc, the type is int32_t
Remove file with prefix 'vaapi' in folder 'common' to crated folder 'vaapi'

1.Create folder 'vaapi' and then create Makefile.am

2.Update Makefile.am, configure.am, common/Makefile.am,
  doc/Makefile.am, encoder/Makefile.am
Merge two log head files in 'codecparsers' and 'common'

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

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

3.Replace 'LOG_INFO' to 'INFO', 'LOG_ERROR' to 'ERROR',
 'LOG_WARNING' to 'WARNING' and 'LOG_DEBUG' to 'DEBUG'
When decode nalu, skip SPS Extension NALs and skip Slice Aux NALs