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.