changes in Image class to cut images into square from a rectangular image without distortion
Added new constant SQUARE
Modified 'resize' method to check the value of SQUARE and define if $master will determine WIDTH or HEIGHT