implemented the Themata submod

Implemented the parts of the submod I liked, minus the actual part with
themes and revoking duke titles (anticipating the upcoming viceroy
system will be used for this).