Automatic thumbnail creation

Added buttons for generating thumbnails in editimagelist, if GD
extension is installed.