guard against recursive data structures in pruneFunctions. fixes #14
Merge pull request #15 from edsu/recursive-params

guard against recursive data structures in pruneFunctions. fixes #14