Refactoring ImageLayer

The new ImageLayer now uses Qt's SceneGraph to render the image, getting a better memory and CPU usage.

Known issues: resizing is letting some dirty.