Fix brewer2mpl for Python 3.3

I had to make these fixes to get brewer2mpl to work on Python 3 (but haven't tested to make sure it still works in Python 2 yet)