cache parent refinements.
don't intern while reading trees.
actually use the new parent refinement stuff.
improving the reading of berkeley grammars.