Fixed a performance issue in Master::Http::stats().
Fixed a performance issue in Master::Http::stats().

We spent a lot of time doing unnecessary range additions
(e.g. ports resources).

From: Jie Yu <0acc13d62cce94f85218ac2e2aa40486e36f9a9f@gmail.com>
Review: https://reviews.apache.org/r/13433

yuquanshan/customizedMesos,asamerh4/mesos,chhsia0/mesos,kaysoky/mesos,zmalik/mesos,dforsyth/mesos,abudnik/mesos,yuquanshan/customizedMesos,jpeach/mesos,kaysoky/mesos,dforsyth/mesos,kaysoky/mesos,Gilbert88/mesos,craimbert/mesos,reneploetz/mesos,zmalik/mesos,gsantovena/mesos,abudnik/mesos,neilconway/mesos,jpeach/mesos,asamerh4/mesos,gsantovena/mesos,chhsia0/mesos,asamerh4/mesos,Gilbert88/mesos,reneploetz/mesos,reneploetz/mesos,gsantovena/mesos,jpeach/mesos,verizonlabs/mesos,craimbert/mesos,neilconway/mesos,kaysoky/mesos,reneploetz/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,verizonlabs/mesos,reneploetz/mesos,Gilbert88/mesos,verizonlabs/mesos,Gilbert88/mesos,neilconway/mesos,dforsyth/mesos,neilconway/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,andschwa/mesos,asamerh4/mesos,asamerh4/mesos,zmalik/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,abudnik/mesos,andschwa/mesos,gsantovena/mesos,dforsyth/mesos,craimbert/mesos,chhsia0/mesos,andschwa/mesos,andschwa/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,andschwa/mesos,craimbert/mesos,yuquanshan/customizedMesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,abudnik/mesos,abudnik/mesos,asamerh4/mesos,andschwa/mesos,Gilbert88/mesos,zmalik/mesos,verizonlabs/mesos,abudnik/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,neilconway/mesos,gsantovena/mesos,chhsia0/mesos,jpeach/mesos,chhsia0/mesos,Gilbert88/mesos,dforsyth/mesos,zmalik/mesos,chhsia0/mesos,asamerh4/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,craimbert/mesos,jpeach/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,craimbert/mesos,abudnik/mesos,gsantovena/mesos,verizonlabs/mesos,zmalik/mesos,kaysoky/mesos,andschwa/mesos,yuquanshan/customizedMesos,chhsia0/mesos