Improved performance of filters in the allocator.
Improved performance of filters in the allocator.

When frameworks refuse a lot of resources, the list of filters gets
long. Since the filters are per-slave,
HierarchicalAllocatorProcess::isFiltered spends a lot of time just
comparing SlaveID (which tend to be long strings). Eliminate this
whole problem by organizing the filters by SlaveID in the first
place.

Review: https://reviews.apache.org/r/37913

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