Adding composer support and some useful hooks

* Adding composer.json for composer support
* Adding filter on thumbnail size label in editor and settings
* Adding action on successful image save