Move query server related stats from couch to couch_mrview

A part of https://github.com/apache/couchdb-couch-mrview/pull/7