Add support for Spark 1.0.0

Change-Id: I1608dc4f44c86fa5bbdd726b271471c6a1096a54