Fixed heatmap defaults for IPython v2.3.
Refactored IPython 2.3 compatibility into stand-alone module.

Created an ipy23_compat module to abstract away the compatibility
issues between IPython 2.3 and IPython 3.