Fix Character.getDirectionality.

Previously we'd throw ArrayIndexOutOfBoundsException for U+2066..U+2069.
Now we'll return DIRECTIONALITY_UNDEFINED. I've exposed (via @hide) the
underlying icu4c implementation so that frameworks code at least can work
with the new explicit bidi formatting characters.

Bug: 15492712

(cherry picked from commit 2c4a09f2af911621b415e84ee028b768ee0a3fcb)

Change-Id: Ifca5097ccad10227ce7073f23b7610f45aab999d
3 files changed