added size accessor
added detach() to Attachment and detachAll() to FrameBuffer
fixed a bug in isSublayerOf, added draw code that uses RenderContext
added empty constructor
layer caches are updated correctly: textures are created for each layer and hold only this layers content, excluding sublayers. no final drawing yet.