[CORE] updated getWrap method to use textwrap.TextWrapper class: fixes #194
Merge branch 'get_wrap' into release-1.10