Added boolean forceSquareOutput for Settings. This can be used to make
sure that the output images are squares. My main motivation: In OpenGL
ES 1.0, mipmaps require square textures.
Changed the commit according to Seraphim6x7 suggestion.
Merge branch 'master' of https://github.com/libgdx/libgdx.git
Clamping for value in setRange.
Allow min to be same as max.
If min is the same as max avoid division by 0.