[GEOS-6323] Take ND coverages dimensions into account when checking size limits

Modifications on the input/output limit check by taking into account the total image size for all the dimensions and addition of tests on the netcdf-out community module.

Please look at the JIRA https://jira.codehaus.org/browse/GEOS-6323