Disallow shallow copy of operator trees
Use a deep copy during symbol lookup
disallow shallow copy of expressions
use a deep copy in resolve_state_vars
Merge pull request #231 from uwescience/andrew_forbid_shallow_copy

Forbid use of shallow copy for tree-like data structures