A few modifications to the layout manager in preparation for better handling rendering of elements.

The new changes involve storing more layout properties in the element in a way to make it easier to optimize and simplify the rendering process. One such optimization will be doing early determination of whether or not clipping needs to be explicitly performed by the renderer.

Another issue is making the position determination code simpler in the renderer.