Added kcore implementation.

Conflicts:
	graph/src/main/scala/org/apache/spark/graph/Pregel.scala
Fixed results of cherry-pick