add setoption for EncParamExt

set option test for EncParamExt
--add set option test for EncParamExt
--add one head file for API test (make file )

to do
  -- enhance EncParamExt validation
  --random combination
  --print error paramExt  for those error cases