GregorianTime equals and toString

Added equals method to GregorianTime.
Added toString method to GregorianTime to print in ISO8601 format.