Exclude global builders from EquationFactory pickle state.

This fixes a memory leak that occurs when pickling and unpicklng any object that stores an `EquationFactory`. It should be tested with some real-world cases to assure it is doing the right thing.