Fix unexpected result using QString::toStdWString() (fix #107 again, QTBUG-25536)

* QString::toStdWString() and QString::toUCS4() will have wrong size when
  QString instances contain non-BMP characters.

Close #320
lupdate all translations; update Simplified Chinese translation
Add an option to enable saving resource files with articles (#321)
Merge pull request #324 from timonwong/save_with_res

Add an option to enable saving resource files with articles (#321)
Update pt_BR.ts
Updated Brazilian Portuguese translation by Alexandro Casanova
Tweaks for background color since CSS isolation was introduced
MDict: Narrow selector scope for better CSS isolation (probably)
Fixed #328: Eliminate partially-checked checkboxes in Pereferences

This also eliminates the major problem on Xubunty 13.04 x64, when all those
partially checked checkboxes were without check marks at all.
Updated French translation
Merge pull request #329 from virtualtam/master

Updated French translation
Fix potential crash on exit with multiple tabs opened
Fix javascript errors when try to evaluate undefined variables
Add "Inspect" action to context menu

* The "Inspect" action will bring up web inspector from WebKit.
* Restorable inspector window geometry.
Merge pull request #327 from timonwong/article_inspector

Add "Inspect" action to context menu
Tajik Translation Updated

Tajik Translation Updated
Merge pull request #332 from Ibragimov/master

Tajik Translation Updated
Fixed #333: Do not allow the floating elements to overflow to the other cards
Revert due to regressions: "Fixed #333: Do not allow the floating elements to overflow to the other cards"

This reverts commit f8513bb9951105dc9affdaeb59bddd2af11b43d1.
Reload tabs content and suggestion list after dictionaries rescan (issue #330)