Let UserString.translate() method work with unicode data. This closes SourceForge patch #101246.
The maxsplit functionality in .splitlines() was replaced by the keepends functionality which allows keeping the line end markers together with the string.