Fixed flaky FaultToleranceTest.SchedulerFailoverStatusUpdate.

From: Jiang Yan Xu <yan@jxu.me>
Review: https://reviews.apache.org/r/15946
Fixed ./bootstrap to handle AUTOMAKE and ACLOCAL environment
variables.

See: MESOS-849

From: Bernardo Gomez Palacio <bernardo.gomezpalacio@gmail.com>
Review: https://reviews.apache.org/r/15862
Fixed MESOS-851: The drivers now ignore queued messages when aborted.

Review: https://reviews.apache.org/r/15872
Fixed a flaky test: FaultToleranceTest.ReregisterFrameworkExitedExecutor.

Review: https://reviews.apache.org/r/15955
Cleaned up some log messages in the slave.

Review: https://reviews.apache.org/r/15951
Fixed MESOS-858: Ignore launch / kill requests from non-leading masters.

Review: https://reviews.apache.org/r/15952
Fixed Group to retry if authentication fails due to retryable errors.

See summary.

From: Jiang Yan Xu <yan@jxu.me>
Review: https://reviews.apache.org/r/15706
Fixed cgroups code to use processes rather than threads.

The cgroup 'tasks' file lists the threads in a cgroup.
We should use the 'cgroup.procs' file which lists processes.

See: https://issues.apache.org/jira/browse/MESOS-859

From: Ian Downes <ian.downes@gmail.com>
Review: https://reviews.apache.org/r/15954
Cutting 0.16.0.
stringify() for flag values.

This patch adds a stringify member function to the Flag structure which
lets us iterate and fetch flag values. During flag initialization, the
toString methods are closed over the flag value and option references.
Flag values can't be closed over up front as flag values may be changed
by user code arbitrarily. So stringify takes in the owning flags
instance as a FlagsBase pointer: stringify(FlagsBase*).

From: Niklas Nielsen <nik@qni.dk>
Review: https://reviews.apache.org/r/15285
Added flags field in master and slave state.json

This patch adds flags field to master and slave state.json end-points
which expose all configuration flags as additional diagnostics.

Review: https://reviews.apache.org/r/15288
Added master/tasks.json endpoint.

This patch lists all running and recent completed tasks, sorted by date
and starting at offset and limited by limit parameter.

Review: https://reviews.apache.org/r/15540
Linted jquery.pailer.js, added missing semicolons.

There are not functional changes here, only cosmetic. Added missing
semicolons, used triple equals to test equality, and preferred
unquoted hash keys where appropriate.

Review: http://reviews.apache.org/r/16028
Made pailer scrollable in Chrome and Safari.

After a change to fix the pailer in Firefox, Chrome and Safari broke.
By removing the inner <code> block and using just a <pre> element, the
calculations done by the pailer work again and in all 3 browsers.

The style changes simplified the CSS.

In JS, references to the DOM are kept in variables to prevent unneeded
trips to the DOM on window resizing.

Review: http://reviews.apache.org/r/16029
Removed unused 'slaves' table from home page.

The slaves table was removed from the home page a while ago, and so
the table was not ever being referenced.

Review: http://reviews.apache.org/r/16030
Added git sha, tag and branch in state.json.

Exposing build revisions and branch names can help diagnosing problems
with slaves and masters in development settings.

This patch fetches git sha, tag and branch of repo (if available) and
fills option variables BUILD_GIT_SHA, BUILD_GIT_TAG and BUILD_GIT_BRANCH
accordingly. If variables are set, master and slave state.json expose
and sets fields "git_sha", "git_tag" and "git_branch".

Review: https://reviews.apache.org/r/15169
Added 'mesos-scp' CLI command.

The CLI command mesos-scp uses scp to copy the specified local file(s)
to a specified directory on all slaves known by the current master.

From: Du Li <lidu008@gmail.com>
Review: https://reviews.apache.org/r/14963
Fixed an exception raised in the master related to task statuses.

Review: https://reviews.apache.org/r/16038
Fixed group to use 32 bit signed integers for sequence numbers.

Review: https://reviews.apache.org/r/16045
Fixed the flaky FaultToleranceTest.SlaveReregisterOnZKExpiration test.