add encoder/decoder api test for IDR id and framenum

1. add encoder/decoder api test for IDR id and framenum
2. use random value as input, instead of using *.264
review at: https://rbcommons.com/s/OpenH264/r/765/