string_ext.lua: fix a reference to string.sub.
Fix some spec failures in string.wrap, and one error in a spec.