Cache preferences in memory. Closes #1272, #1523, #1694.
Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file.
Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file.(webui)