RTE: support rtl direction setting for tables

https://bugs.dojotoolkit.org/ticket/17654