MRG: types -> tree/treetypes.py

Fixes #309