Add bidi wrapping support for CharSequences

Code for doing this in the system has already been added in Nougat.
Porting to support library.

Bug: 30476952
Change-Id: Ibbd81bfc15d4754669d47eb4844c8733c46d1bcb
3 files changed