Option: refactore getDefaultRatio

Use make_pair.
Swig: add Generators in bindings
StreamTranscoder: constructor can take an IInputEssence

* To manage cases with generators: a user can overload his Generator and
create a StreamTranscoder.
* Update testSetFrame.py