update profile course event.
fix API.
update profile JSON API and put two examples.
fix HostString bug.
Merge branch 'HostString_bug'