Compress images to upload on website

Compress images and upload them on website using the quality selected by user.

Task: https://openerp.my.openerp.com/web?#id=8680&view_type=form&model=project.task&menu_id=3942&action=327
Pad: https://pad.odoo.com/p/r.BpiW2XLoXNlh35yj

Thanks

The [JPEG section](http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html?highlight=optimize) of the Pillow documentation has the following:

> **Optimize**
> If present, indicates that the encoder should make an extra pass over the image in order to select optimal encoder settings.