Use QJson for Qt version < 5.0

This allow us to build against older versions of Qt (e.g. 4.8). Requires
QJson to present as a system library.