1. add encoder-engine-decoder API UT for: IDR request, LTR request
2. add decoder api UT for EC: Disable/Enable EC
3. Fix a decoder bug when EC is disabled
   itoltalMbDec should be set to zero when encouter a new sequence/picture, even   when EC is disabled.
Merge pull request #1349 from dongzha/AddAPIUTEncoder_Decoder

add encoder/decoder api test for LTR and EC flag