Remove metrics-servlet dependency, copying over the relevant components for the admin, health check, metrics, ping, and thread dump servlets.

All endpoints are still completely compatible (should be nearly identical, minus taking into account some drift from copying from metrics master) with the metrics-servlet version.