Break up theme.lua into several files.

Only LOD addons so far, rest to follow.

Also expand the API to bring it more in line with Aurora.