Removed the loop in Process.settle test, in favor of external looping.

From: Ben Mahler <benjamin.mahler@gmail.com>
Review: https://reviews.apache.org/r/10666

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1470091 13f79535-47bb-0310-9956-ffa450edef68
Fixed a regression in the hadoop-0.20.205.0_hadoop-env.sh.patch file.

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

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1470098 13f79535-47bb-0310-9956-ffa450edef68
Simplify os::hostname() in libstout.
Run Hadoop tutorial binaries from within build dir.
Include pre/post-package hook scripts in Hadoop tutorial.
Allow ending Hadoop tutorial early.

Allow someone to end tutorial after building/packaging complete.  You
can also skip the test part by exporting SKIP_TESTS (i.e., 'make hadoop
SKIP_TESTS=1').
Use XZ (LZMA) for package on Linuxes.
Build fix for HadoopPipes.cc with GCC 4.7.
Check for Python.h in configure script.
Use more portable paths for tutorial test.