comments for ctree.types routines
fix import problems, use None to mean 'void' type
get tests working in 2.x