(Bug 46458) ApiSMWInfo add count information of individual query formats

Add "formatcount" parameter to ApiSMWInfo which will ouput
an array of used formats together with the count information

## JSON example

{
    "info": {
        "formatcount": {
            "datatables": 44,
            "list": 27,
            "jqplotchart": 15,
            "eventcalendar": 15,
            "gallery": 15,
            "jqplotseries": 13,
            "count": 2,
            "sum": 2,
            "rdf": 1
        }
    }
}

Change-Id: Ifb34d9b17a0b34082ee62245ecf5f49dc0b2eec1
Merge "(Bug 46458) ApiSMWInfo add count information of individual query formats"