Added TermGenerator::set_flags

[endlessm/eos-sdk#13]