Fixes #6
Add a test case for reduction of 2D grids.
NEW: test cases for reduction of integer grids
NEW: reduction of integer grids in the REF backend
NEW: reduction of integer grids in the CUDA backend
NEW: reduction of integer grids in the MPI/MPI-CUDA backends (not tested)