Replace JSON parser/generator.

Qt4: Old qBittorrent JSON parser/generator replaced with QJson
(http://qjson.sourceforge.net).
Qt5: Use native Qt JSON API.