Support to decode utf8 to code point.

Add fucntion to decode utf8 to code point from a sequence.
Merge branch 'master' into json-branch
Support Dump UTF8 string as json-format.