Refactored datetime. Refs #8153.

- Now use `DateAndTime` object rather than calculating this manually.
- Added relevant time to `endDate` in `ICat4Catalog` to allow the end date to be the last minute of the day.
Removed unused boost header file. Refs #8152.
Merge remote-tracking branch 'origin/feature/8152_icat_datetime_improvement'