add a setoption for further setting
Merge pull request #1331 from sijchen/add_setoption

[Encoder] add setoption of 'isLosslessLink' for further strategy tuning
Merge remote-tracking branch 'upstream/master' into travis.osx