MAINT: stats: Fix chisquare and mstats.chisquare to work with numpy 1.5.1

In numpy 1.5.1, the functions `np.add.reduce` and `np.ma.add.reduce` do not accept `axis=None`, so instead we use the corresponding `sum` function.