remove `import new` from cbook.py

Related to the other efforts to clean up cbook.py

removed the `import new` in favor of `import types` for all versions.

`types` is supported from 2.2 and `new` is deprecated as of 2.6.

This is the only place `import new` appears in the code.