Detect if cells are all active and set up UnstructuredGrid to reflect this.
Copy cartesian dimensions again.

This was accidentally removed in one of the last patches.
Cater case where grid is not a CpGrid.
Remove unused parameter warnings.
Make logicalCartesianSize to always tell the size of the global grid.