This adds decorator support in a very basic way, but enough that it doesn't take a lot of effort to get it implemented. This also starts work on splitting things out for theming.
Switched all of the divs to spans, as the container should not be a block by default.