Move language reading direction definition ("dir") from main language file to core.
Separate list of the supported languages and list of right-to-left languages.
Remove unnecessary quotes to save some bytes.