Added support for JodaTime\'s DateTime and DateMidnight classes to be stored as longs. java.util.Date and java.util.Calendar are now stored as longs.