Merge pull request #1 from colorant/yarn-client-2.2

Port yarn-client mode for new-yarn
Use published "org.spark-project.akka-*" in sbt build for Hadoop-2.2 dependencies.

This also includes:
-Change `isNewYarn` to `isNewHadoop`, since the protobuf-2.5 dependency is from Hadoop-2.2 itself.
-Regexp bugix

Credits to @alig for this patch.