Added possibility of adding an image object as a layer.
An entire canvas can now be added as a layer.
Added example of using a canvas as a layer.