fix some bugs of EC
bug fix of EC_copy
Merge pull request #762 from huili2/ec_ut_bugfix

bug fix of EC_copy, it fixes the memory issue  for decoder EC Unit Test which may lead crash.
use the parameters set by app instead of the default values
Remove useless code
Merge pull request #763 from huili2/ec_bug_fix

fix some bugs of EC
Merge pull request #764 from dongzha/Deblock

Remove useless code
remove typedef.h
Merge pull request #765 from lyao2/scrollingUT

fix re-define issue
Merge pull request #768 from ruil2/enc_param

use the parameters set by app instead of the default values
fix the issue that long term reference frame is disable for screen
Merge pull request #769 from ruil2/enc_screen_1

fix the issue that long term reference frame is disable for screen
Merge remote-tracking branch 'upstream/master' into travis.osx