ticket:11258: adjust dependencies, pull charstr & unistr_core into the platform group, fix some code

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@36485 251d0590-4201-4cf1-90de-194747b24ca1