check against datagrid.size instead of recordsize
min max are now rounded to resolution
corrected resizing of raster number of bands
Merge branch 'master' of https://github.com/52North/IlwisCore