refactor numpy based reductions

We now store (name, op, identity, types) as data rather than having lots of
code to explicitly define each one.
set to list literal for py2.6 compatibility
Merge pull request #224 from mrocklin/reduction-tweaks

Reduction tweaks