Minor fixes:

* Proper exit on failed Job execute().
* Better error handling if system archive is missing.
* Added hadoop paths section in hadoop-env.sh for Hadoop 2.
* Simplified formatting logic for HDFS 2.