Integrate "mode" option in formats

Integrate "mode" option in formats
Use Imagine "mode" option in SimpleResizer

Unit tests are not updated