CE-1125 ImageReview refactoring - Prologue

This commit contains:
* Use Vignette as a thumbnailer
* The beginning of a code separation (hooks & db queries)
* Some documentation

Pinging @Grunny @macbre and @nmonterroso  due to Vignette changes
You don't need an instance here as a static method is bound to the hook.