More comments.
Use ISODate for dates in hibernate.

Add tests for ISODate