Traitlets compatibility with IPython 2.3

This PR guarantees compatibility of the traitlets used with IPython 2.3.

The difference in the traitlets API between IPython 2.3 and IPython 3 is a real pain. It will probably be worth writing a compatibility module, e.g. ipy23_compat, for future reference.