Fix for godmode detection on XPiNC
Changed Encapsulated to extending Externalizable and added external forms for DateTime and Name
Implemented Database.openMail() and Database.getMail();
fixed forced recycle on DateRange.setStartDateTime(DateTime) and .setEndDateTime(DateTime) because it was clearing the values by recycling them after the set.
WORST. IMPLEMENTATION. EVAR.

Also added a little more bullet-proofing into Document resurrection and wrapped Factory.getClassLoader() in a PrivilegedAction to allow access to the current thread's classloader.
refix of DateRange to use member DateTimes, since these are already Encapsulated