1. Implement --force-encoding option semantics.
2. Add test for --force-encoding.
3. Widen base implementation of AbstractModel.
4. Improve robustness of TextLogger regarding exception logging.
5. Fix code warnings reported by eclipse.