Factor out and polish counter, gauge, and label serving.

Handlers are no longer triggered by a prefix of their path.