Added minimagick and auto orient in image uploader