Improved documentation tools classes.

Updated spanner documentation.
Merged master.
Improved documentation tools functions.
Regularized pickling and copying logic system-wide.
Merged master.