Implemented comparison methods on: Date, DateTime, Duration.
Added convience comparision methods for remaining classes with a compare() method.
Added typechecks.