Updating dependencies and imports for spark 0.8.0