Fix qbittorrent-nox daemon.
Merge pull request #2314 from glassez/daemon

Fix qbittorrent-nox daemon (discussed in #2300).
Improve command line parsing.