Fixed flaky FaultToleranceTest.ReregisterFrameworkExitedExecutor test.

Review: https://reviews.apache.org/r/14762
Fixed weights parsing in the master to properly account for roles.

Review: https://reviews.apache.org/r/14766
Disabled ZooKeeperMasterDetectorTest.MasterDetectorShutdownNetwork
due to MESOS-455.

Review: https://reviews.apache.org/r/14768
Improve strings::pairs test.

Improve strings::pairs test for repeated keys and invalid pairs, as
per function documentation.

From: Ian Downes <ian.downes@gmail.com>
Review: https://reviews.apache.org/r/14821
Added a shared pointer abstraction which enforces const accesses.

From: Jie Yu <yujie.jay@gmail.com>
Review: https://reviews.apache.org/r/14848
Simplified os::hostname() in libstout.

Review: https://reviews.apache.org/r/11108
Shuffle offers before sending to frameworks.

This helps ensure fair allocation of resources.

Review: https://reviews.apache.org/r/11121
Added --enable-debug configure flag.

Review: https://reviews.apache.org/r/11605
Slave ping timeout may be increased by flags.

Review: https://reviews.apache.org/r/12885
Turned down noise from ZooKeeper.

Review: https://reviews.apache.org/r/11127
Use hostname instead of IP for redirection.

In the Web UI, the redirection does not work for hosts where the local
interface address is not publicly accessible.  For example, with EC2 the
redirection will not work.

This change writes the Master's hostname into ZooKeeper, thereby
allowing the redirection to work with private IP addresses.

Review: https://reviews.apache.org/r/11975/
On recovery fail, do rm -rf /tmp/mesos/meta.
Use libstout cache for slave completedFrameworks.

The list of retired (completed) frameworks is now a stout cache rather
than a boost circular buffer.  There are now key iterator accessors for
the cache class, and a removal member.

Review: https://reviews.apache.org/r/13599
Added a slave load hint for scheduler sorting.

With this change, the offers will include a slave load hint based on the
5 minute load average for that slave (returned from getloadavg()).
Frameworks can use this hint to select among otherwise similar offers,
as an optimization.

Review: https://reviews.apache.org/r/13675
Increase web UI reload delay.
Added StateTransition to Task message.

Task now includes repeated state transitions with timestamps.  This
allows the master to perform some basic task accounting, like displaying
the start/finish time for tasks.

To support this, a timestamp was added to the TaskStatus message which
is also passed to frameworks when there are state transitions.

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