Fixed handling of operations in `master::recoverFramework()`.
Fixed handling of operations in `master::recoverFramework()`.

`Master::recoverFramework()` only recovers operations affecting agent
default resources. This patch makes it also recover operations affecting
resources managed by resource providers.

It also fixes a bug in which not just the corresponding operations, but
all the ones affecting agent default resources will be added to the
framework.

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

andschwa/mesos,Gilbert88/mesos,dforsyth/mesos,gsantovena/mesos,chhsia0/mesos,andschwa/mesos,gsantovena/mesos,gsantovena/mesos,abudnik/mesos,reneploetz/mesos,dforsyth/mesos,chhsia0/mesos,gsantovena/mesos,dforsyth/mesos,andschwa/mesos,dforsyth/mesos,jpeach/mesos,andschwa/mesos,asamerh4/mesos,reneploetz/mesos,abudnik/mesos,Gilbert88/mesos,andschwa/mesos,reneploetz/mesos,Gilbert88/mesos,asamerh4/mesos,chhsia0/mesos,reneploetz/mesos,chhsia0/mesos,jpeach/mesos,abudnik/mesos,jpeach/mesos,abudnik/mesos,asamerh4/mesos,gsantovena/mesos,andschwa/mesos,kaysoky/mesos,abudnik/mesos,asamerh4/mesos,dforsyth/mesos,dforsyth/mesos,asamerh4/mesos,chhsia0/mesos,kaysoky/mesos,chhsia0/mesos,jpeach/mesos,asamerh4/mesos,kaysoky/mesos,gsantovena/mesos,Gilbert88/mesos,reneploetz/mesos,kaysoky/mesos,kaysoky/mesos,andschwa/mesos,gsantovena/mesos,chhsia0/mesos,jpeach/mesos,asamerh4/mesos,kaysoky/mesos,abudnik/mesos,abudnik/mesos,reneploetz/mesos,jpeach/mesos,kaysoky/mesos,Gilbert88/mesos,jpeach/mesos,Gilbert88/mesos,Gilbert88/mesos,dforsyth/mesos,reneploetz/mesos