Improve logging

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Replace easy mock by mockito

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix bug on file dilatation: the deployer was not notified.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>