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
if Prototype is loaded, remove its Array.toJSON which flattens arrays into strings. Fixes #17