Optimization changes for AMP Min/Max, Count and transform_reduce + Optim...

...ization changes for OpenCL ReduceByKey + Some documentation fixes