1.Auto set img.min and img.max when open GeoTIFF grayscale image.
2.Added Grayscale Histogram XF for 1 channel grayscale image in image window.
3.Added following function to OC ImageLayer class to get histogram of the pixel values.
int FreqCounts(vector<int>& values, vector<int>& counts, const vector<int>& skips)