Use JSON for jammr REST API

The jammr REST API has been available both in XML and JSON.  Since Qt5
added support for JSON we can switch away from XML.

The XML parser classes in Qt are clumsier than the JSON parser.  The XML
schema was also ugly because it simply wrapped JSON objects.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Follow RFC2617 s/basic/Basic/ scheme name

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>