Fix WebUI sort by size/speed for some locales (with comma as decimal point).
Fix WebUI sort by ratio for some locales (with comma as decimal point).
Bring dialog boxes in the front when qbt doesn't have focus.

Code inspired by glassez patch.
Correctly resize 'name' column of the content tab. Closes #1360.
Reuse code in AddNewTorrentDialog. #894.
Correctly restore 'name' column width when loading magnet links in the 'Add new torrent dialog'. Closes #1334.
Merge pull request #1328 from glassez/webui-sort

Fix WebUI sort by size/speed (part 2)