Merge pull request #4 from 1i7/translation1

Add Russian translation for main window and preferences dialog
Set Qt text encoding to UTF-8.
Add preferences option to enable/disable localization.
Handle syntax highlight setting correctly with localization enabled.
Merge remote-tracking branch 'upstream/translation1' into translation1
Merge upstream
More Russian translated strings