make NodePickler picklable
added test for picklable NodePickler
Merge pull request #323 from gweis/master

make NodePickler picklable