OOUI PHP: Support RTL text direction

Added support to the demo. Note how the GridLayout's directionality
changes.

Currently only per-document directionality is supported. That might
change in the future.

Bug: 72584
Change-Id: I4a4242d36c5765c39b37efbbddd822ac1f2d4f3b