Added support for rtl languages. Minor localization fixes.

 - added lang attributes to sections which have constant language
 - added lang attribute to html, changes with page langusge
 - sections enclosed in <section> tags