hgweb: move capabilities calculation back into hgweb.protocol
import doctestimport mercurial.changelog# test doctest from changelogdoctest.testmod(mercurial.changelog)import mercurial.httprepodoctest.testmod(mercurial.httprepo)import mercurial.utildoctest.testmod(mercurial.util)