Drawable base class created.
Shared methods for subscribing to and triggering view events.
Whole document tree is realigned if an element is expanded or collapsed.
Hack for fixing buggy getBBox() behavior on Firefox.