fix cPickle.dump simple function error
let spartan be able to use ipython defined simple function as map, reduce and
shuffle parameters
Merge pull request #189 from MaggieQi/master

fix cPickle.dump simple function error