Add lang and dir attributes to the accelerator element

Without explicit direction some shortcuts will appear backwards
in RTL wikis, for example "Ctrl+," appears as ",+Ctrl".

Change-Id: Ib9c149a6a2c3f02faecf638ff0fe53765ebe680f
Merge "Add lang and dir attributes to the accelerator element"