Additional ImageResize mode

- Additional ImageResizeMode
- ImageResizeHandler now checks the extension of the uploaded file
before starting resize.
Merged andy4711/master -> imageresizemode