Replace old numpy macros with their new versions

Using the replace_old_macros.sed script distributed
with numpy.
Fix deprecated api usage in _png.cpp
Fix deprecated api usage in _image.cpp
Fix deprecated api usage in agg_py_path_iterator.h
Fix deprecated api usage in _path.cpp
Fix deprecated api usage in cntr.c
Fix deprecated api usage in _delaunay.cpp
Fix deprecated api usage in _backend_agg.cpp
Numpy 1.6 compatibility in _delaunay.cpp
Test with numpy 1.6 on Travis

Couple it with Python 2.6, since those are older versions of
the dependencies.
Fix C++ism in C file
Turn numpy deprecation warnings into errors

By defining a macro in setupext.py
Fix deprecated api usage in _macosx.m
Remove extra Py_XDECREF calls

Thanks to @mdehoon for catching these!
Document auto-init behavior of colors.Normalize and cm.ScalarMappable.

modified:   colors.py
    norm = Normalize()  # No parameters, the defaults.
    aa = norm(a)        # a is normalized according to a's min and max.
    bb = norm(b)        # b is normalized according to *a's min and max*.

    That is, if vmin and vmax aren't set by the time the first __call__
    happens, they are initialized as a side-effect, based on the data in
    the first call.

    This may well be the intended behavior, but the existing docstring
    suggested autoscaling to whatever data comes through.  Side-effects
    should be documented so they sound like side-effects.

    Documented this in the __init__ docstring (which is where the __call__
    behavior was documented), and added a docstring to the __call__
    method and also mentioned this side-effect behavior there.

modified:   cm.py   in class ScalarMappable
    def __init__(norm=None, ...)
    Added to the docstring that the default is really a new Normalize
    initialized with no parameters, which auto-initializes scaling based
    on the first input data.
fix E221 pep8 errors
fix E222 pep8 errors

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
fix E201 and E202 pep8 errors

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
figure.max_num_figures was renamed to figure.max_open_warning.
Merge branch 'master' of https://github.com/matplotlib/matplotlib