Avoid unnecessary classes creation.
Fix main.cpp indentation. Issue #2192.
Simplify main() logic.

Add Application class.
Put application initialization code to Application class.
Place some code into separate functions.
Use forward declarations in main.cpp.
Add combo box for fast search engine switch
saving splitter state on change

to not lose it on unclean exit
WebUI: Set global upload max limit to 10000 KB/s
Remove unneeded check on filenames

The same check is performed in fsutils::fileExtension()
Open files with ".!qB" appended to the filename

Filenames do not include ".!qB" in the file list, so the generated
path could be wrong.
Support overriding global "Add paused" option in RSS on per rule basis
WebUI: Improve translation macro.

Now we use QBT_TR(translatable string)QBT_TR.
WebUI: Drop old translation hack.
WebUI: Fix initial state of the alternative speed limits icon
WebUI: Be consistent with variable names
Merge pull request #2289 from glassez/fix_main

Improve program startup code.
Merge pull request #2293 from john-peterson/save2

saving splitter state on change
Use the configure script to prepare the build in Mac OSX too. Closes #2295.
Merge pull request #2297 from pmzqla/filename-extension

Filename extension fixes
Merge pull request #2299 from glassez/webui_tr

WebUI: Improve translation macro.
Merge pull request #2296 from buinsky/master

WebUI: Set global upload max limit to 10000 KB/s