Fixed docker validation and only run docker tests on linux with root.

Review: https://reviews.apache.org/r/24361
Made ephemeral ports a resource and killed private resources.

Review: https://reviews.apache.org/r/24269
Do not send ephemeral_ports resource to frameworks.

Review: https://reviews.apache.org/r/24286
Create static mesos library.

Review: https://reviews.apache.org/r/24252
Re-enabled HealthCheckTest.ConsecutiveFailures test.

The test originally was flaky because the time to process the number
of consecutive checks configured exceeds the task itself, so the task
finished but the number of expected task health check didn't match.

Review: https://reviews.apache.org/r/23772
Merge resourcesRecovered and resourcesUnused.

Review: https://reviews.apache.org/r/24331
Fix docker validation and only run docker tests on linux

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