Update SparkContextFunctions.scala

To make it Serializable
take a look at this http://stackoverflow.com/questions/23737804/enriching-sparkcontext-without-incurring-in-serialization-issues