Refactored ImmutableDate and fixed comparisons
Fixed bug in CloseableSession: don't close result of SessionFactory.getCurrentSession()