Merge pull request #1 from clockfly/master

sync from clockfly/gearpump
Merge pull request #2 from intel-hadoop/master

merge with intelhadoop/gearpump
add user's resource request config
refactor code
Merge branch 'master' into scheduler

Conflicts:
	core/src/main/scala/org/apache/gearpump/cluster/AppManager.scala
	core/src/main/scala/org/apache/gearpump/scheduler/PriorityScheduler.scala
	core/src/main/scala/org/apache/gearpump/scheduler/Resource.scala
	core/src/main/scala/org/apache/gearpump/scheduler/Scheduler.scala
	core/src/main/scala/org/apache/gearpump/util/Configs.scala
	src/main/scala/org/apache/gearpump/cluster/scheduler/PriorityScheduler.scala
	src/main/scala/org/apache/gearpump/cluster/scheduler/Resource.scala
	src/main/scala/org/apache/gearpump/cluster/scheduler/Scheduler.scala
	src/main/scala/org/apache/gearpump/scheduler/PriorityScheduler.scala
	src/main/scala/org/apache/gearpump/scheduler/Resource.scala
	src/main/scala/org/apache/gearpump/scheduler/Scheduler.scala
Remove unused classes, traits
first pass on #70 - somewhat painful converting AppDescription to something JSON friendly.
For wordcount a REST query of /appmaster/0?detail=true results in a JSON structure of {"appId":0,"appDescription":{"name":"wordCount","conf":[],"dag":{"vertex":["Split","Sum"],"edge":[["Split","HashPartitioner","Sum"]]}}}
use map's returned collection and convert to list
Getting a better idea of how the serialization/deserialization of types should work assuming we can automate. ActorRef's deserialization should really be path -> ActorSelection -> ActorRef
Another pass on AppDescription JSON conversion
Use class canonical names
Merge remote-tracking branch 'upstream/master'

Conflicts:
	core/src/main/scala/org/apache/gearpump/cluster/ClusterMessage.scala
	project/Build.scala
Merge pull request #71 from kkasravi/master

REST API to retrieve a given AppMasters DAG
Merge branch 'master' into scheduler

Conflicts:
	core/src/main/scala/org/apache/gearpump/cluster/Worker.scala
	core/src/main/scala/org/apache/gearpump/cluster/scheduler/PriorityScheduler.scala
	core/src/main/scala/org/apache/gearpump/cluster/scheduler/Scheduler.scala
	core/src/main/scala/org/apache/gearpump/util/Configs.scala
	core/src/main/scala/org/apache/gearpump/util/Constants.scala
	streaming/src/main/scala/org/apache/gearpump/streaming/AppMaster.scala
	streaming/src/main/scala/org/apache/gearpump/streaming/ClusterMessage.scala
Merge remote-tracking branch 'upstream/master'

Conflicts:
	streaming/src/main/scala/org/apache/gearpump/streaming/AppMaster.scala
fix merge conflict
Merge pull request #79 from clockfly/master

at least once
revert WorkerInfo changes
Merge branch 'master' into scheduler

Conflicts:
	streaming/src/main/scala/org/apache/gearpump/streaming/AppMaster.scala
	streaming/src/main/scala/org/apache/gearpump/streaming/ClusterMessage.scala
	streaming/src/main/scala/org/apache/gearpump/streaming/Executor.scala