unicode: Make get_char()/next_char()/charlen() be 8-bit compatible.

Based on config define.
objstrunicode: Signedness issues.
objstr: 64-bit issues.
objstrunicode: Refactor str_index_to_ptr() following objstr.
tests: Test for explicit start/end args to str methods for unicode.