Introduced a new Type for MIME_BEANs, so that they are not recognized as Richtext/MIME_PART in XPages.
Refactored all "getType" Methods, where an according Enum Type exists.