add encode test for iOS

Change
1. add simple encode test for iOS since there do not exist encode test on iOS.  
2. Fix a bug in encode test with command line.   
3. Update encode library with NO_DYNAMIC_VP. 

Review:
https://rbcommons.com/s/OpenH264/r/118/