Temporarily disabled ExternalContainerizerTest.Launch due to
MESOS-1257.
Add 'value' and 'units' methods to Duration subclasses.

Review: https://reviews.apache.org/r/20922
Used Duration subclasses to allow Timer users to specify units.

Review: https://reviews.apache.org/r/20923
Added template parameter to Timer.

Review: https://reviews.apache.org/r/20925
Temporarily disabled SlaveRecoveryTest.RestartBeforeContainerizerLaunch due to MESOS-1273.
Improved log messages in master.

Review: https://reviews.apache.org/r/20932
Ignored the log write request to a position if it has already been
learned.

Review: https://reviews.apache.org/r/20934
Applied four space indents (PEP8) to Python example frameworks.

Review: https://reviews.apache.org/r/21008
Updated the Registrar to abort permanently upon encountering a Failure.

It's possible for a backed-up master (many items in its queue) to have
many operations enqueued in the Registrar.

In this event, the Master won't commit suicide until the initial
failure is processed. However, in the interim, subsequent operations
are potentially being performed against the Registrar. This could lead
to fighting between masters if a "demoted" master re-attempts to
acquirelog-leadership! This scenario can occur if the "demoted" master
has a large queue and the demotion event is towards the back of the
master's queue.

It would be preferable to ensure that after losing log leadership,
the "demoted" master does not try to re-acquire log leadership and
write to the log.

Review: https://reviews.apache.org/r/20981
Fixed slave authentication to prevent sending TASK_LOST on
disconnection.

Changed master to only remove a slave's frameworks and offers on
exited, not on reauthenticate. Still disconnects at the allocator in
both cases.

Review: https://reviews.apache.org/r/21017
Changed --registry flag from "log_storage" to "replicated_log" to be more descriptive.

Review: https://reviews.apache.org/r/21019
Added a metric for the size of the registry.

Review: https://reviews.apache.org/r/21021
Exposed the event queue in ProcessBase as protected.

Review: https://reviews.apache.org/r/20991
Added metric for event queue size in the master.

Review: https://reviews.apache.org/r/21032
Fixed SlaveRecoveryTest.RestartBeforeContainerizerLaunch.

Review: https://reviews.apache.org/r/21007
Fixed typo in master's log message.
Updated indentation in libprocess configure.ac.
Updated indentation in Mesos configure.ac.
Updated stout to satisfy whitespace/indent.

Review: https://reviews.apache.org/r/21004
Updated Mesos to satisfy whitespace/indent.

Also modified cpplint.py to check that access keywords are NOT
indented and enabled the cpplint rule in mesos-style.py.

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