Restructured skin output further, moved a few wrappers around.

Removed the final bits of the basetemplate. All that remains style-wise is some of the original monobook css. Further restructuring of this will be done.