Bump Spark to version 1.0.2 and make minor modifications to support changes in API packages